diff options
Diffstat (limited to 'tools/gfx/cuda/cuda-device.cpp')
| -rw-r--r-- | tools/gfx/cuda/cuda-device.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gfx/cuda/cuda-device.cpp b/tools/gfx/cuda/cuda-device.cpp index f81bcfe99..4aeecb606 100644 --- a/tools/gfx/cuda/cuda-device.cpp +++ b/tools/gfx/cuda/cuda-device.cpp @@ -179,9 +179,12 @@ SLANG_NO_THROW SlangResult SLANG_MCALL DeviceImpl::initialize(const Desc& desc) 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 { + // Not clear how to detect half support on CUDA. For now we'll assume we have it m_features.add("half"); + + // CUDA has support for realtime clock + m_features.add("realtime-clock"); } cudaDeviceProp deviceProps; |
