Skip to content

Commit d32a05c

Browse files
committed
ensure using c++
1 parent 98e3d78 commit d32a05c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

cuda_bindings/tests_cython/test_ccuda.pyx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# this software. Any use, reproduction, disclosure, or distribution of
66
# this software and related documentation outside the terms of the EULA
77
# is strictly prohibited.
8+
9+
# distutils: language=c++
10+
811
from libc.string cimport (
912
memset,
1013
memcmp
@@ -53,4 +56,4 @@ def test_ccuda_memcpy():
5356
err = ccuda.cuMemFree(dptr)
5457
assert(err == 0)
5558
err = ccuda.cuCtxDestroy(ctx)
56-
assert(err == 0)
59+
assert(err == 0)

cuda_bindings/tests_cython/test_ccudart.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# this software. Any use, reproduction, disclosure, or distribution of
66
# this software and related documentation outside the terms of the EULA
77
# is strictly prohibited.
8+
9+
# distutils: language=c++
10+
811
from libc.string cimport (
912
memset,
1013
memcmp

cuda_bindings/tests_cython/test_interoperability_cython.pyx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# this software. Any use, reproduction, disclosure, or distribution of
66
# this software and related documentation outside the terms of the EULA
77
# is strictly prohibited.
8+
9+
# distutils: language=c++
10+
811
import pytest
912
import cuda.cuda as cuda
1013
import cuda.cudart as cudart

0 commit comments

Comments
 (0)