Open somefunAgba opened 2 weeks ago
I tried implementing the code in a new folder, and this is what I get, when using CUDAExtension. CppExtension works perfectly though.
Traceback (most recent call last):
File "r:\tut_cpp_extension\test\test.py", line 10, in <module>
import extension_cpp
File "R:\Programs\Python\Python310\lib\site-packages\extension_cpp\__init__.py", line 2, in <module>
from . import _C, ops
ImportError: DLL load failed while importing _C: A dynamic link library (DLL) initialization routine failed.
Hi @zou3519, @goldsborough @drisspg
The README says to benchmark Python vs. C++ vs. CUDA:
But benchmark.py is missing in the repo.
The README says to test the extension, run:
Outcome: The CPU tests pass but CUDA tests fail
To see which function was able to compute values, to the
_test_correctness
and_test_gradients function
, I added.ERROR MESSAGE