From fc9cba5307d166f7fda3f7e2c8b5bed7b06fef54 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 16 Mar 2023 22:17:34 -0700 Subject: Add `[CudaDeviceExport]` to allow exporting CUDA device functions. (#2708) * Add `[CudaDeviceExport]` to allow exporting CUDA device functions. * Fix. --------- Co-authored-by: Yong He --- source/slang/slang-compiler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-compiler.h') 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, -- cgit v1.2.3