diff options
| author | Yong He <yonghe@outlook.com> | 2023-03-16 22:17:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-16 22:17:34 -0700 |
| commit | fc9cba5307d166f7fda3f7e2c8b5bed7b06fef54 (patch) | |
| tree | 1a7e73b2b00cd5672c0c7318a6f4ab52cf7c5557 /source/slang/slang-compiler.h | |
| parent | 2fd1ac6c85230d47c008e45fefcc1c49400e96bd (diff) | |
Add `[CudaDeviceExport]` to allow exporting CUDA device functions. (#2708)
* Add `[CudaDeviceExport]` to allow exporting CUDA device functions.
* Fix.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-compiler.h')
| -rwxr-xr-x | source/slang/slang-compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-compiler.h b/source/slang/slang-compiler.h index e6b173e2a..784026761 100755 --- a/source/slang/slang-compiler.h +++ b/source/slang/slang-compiler.h @@ -81,6 +81,7 @@ namespace Slang ShaderHostCallable = SLANG_SHADER_HOST_CALLABLE, CUDASource = SLANG_CUDA_SOURCE, PTX = SLANG_PTX, + CUDAObjectCode = SLANG_CUDA_OBJECT_CODE, ObjectCode = SLANG_OBJECT_CODE, HostHostCallable = SLANG_HOST_HOST_CALLABLE, CountOf = SLANG_TARGET_COUNT_OF, |
