diff options
Diffstat (limited to 'tools/gfx/cuda/render-cuda.cpp')
| -rw-r--r-- | tools/gfx/cuda/render-cuda.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gfx/cuda/render-cuda.cpp b/tools/gfx/cuda/render-cuda.cpp index f871e6246..9d6b08122 100644 --- a/tools/gfx/cuda/render-cuda.cpp +++ b/tools/gfx/cuda/render-cuda.cpp @@ -1356,6 +1356,11 @@ public: SLANG_CUDA_RETURN_WITH_REPORT_ON_FAIL( cuCtxCreate(&m_context->m_context, 0, m_device), reportType); + // Not clear how to detect half support on CUDA. For now we'll assume we have it + { + m_features.add("half"); + } + // Initialize DeviceInfo { m_info.deviceType = DeviceType::CUDA; |
