We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d1e9c commit ea9c5d9Copy full SHA for ea9c5d9
csrc/jit/handle.hpp
@@ -8,7 +8,7 @@
8
9
namespace deep_gemm {
10
11
-#if CUDART_VERSION >= 12080 and not defined(DG_JIT_USE_DRIVER_API)
+#if CUDART_VERSION >= 12080 and defined(DG_JIT_USE_RUNTIME_API)
12
13
// Use CUDA runtime API
14
using LibraryHandle = cudaLibrary_t;
setup.py
@@ -28,9 +28,9 @@
28
'third-party/cutlass/include/cutlass',
29
]
30
31
-# Use driver API for older CUDA compatibility
32
-if int(os.environ.get('DG_JIT_USE_DRIVER_API', '0')):
33
- cxx_flags.append('-DDG_JIT_USE_DRIVER_API')
+# Use runtime API
+if int(os.environ.get('DG_JIT_USE_RUNTIME_API', '0')):
+ cxx_flags.append('-DDG_JIT_USE_RUNTIME_API')
34
35
36
class CustomBuildPy(build_py):
0 commit comments