summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gfx/cuda/cuda-device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/cuda/cuda-device.cpp b/tools/gfx/cuda/cuda-device.cpp
index a62f41ada..129ea793f 100644
--- a/tools/gfx/cuda/cuda-device.cpp
+++ b/tools/gfx/cuda/cuda-device.cpp
@@ -149,7 +149,7 @@ SLANG_NO_THROW SlangResult SLANG_MCALL DeviceImpl::initialize(const Desc& desc)
desc.extendedDescCount,
desc.extendedDescs,
SLANG_PTX,
- "sm_5_1",
+ "cuda_sm_5_0",
makeArray(slang::PreprocessorMacroDesc{"__CUDA_COMPUTE__", "1"}).getView()));
SLANG_RETURN_ON_FAIL(RendererBase::initialize(desc));