Traceback (most recent call last):
File "D:\ie浏览器下载\python\Lib\site-packages\cupy\cuda\compiler.py", line 737, in compile
nvrtc.compileProgram(self.ptr, options)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "cupy_backends\\cuda\\libs\\nvrtc.pyx", line 125, in cupy_backends.cuda.libs.nvrtc.compileProgram
File "cupy_backends\\cuda\\libs\\nvrtc.pyx", line 138, in cupy_backends.cuda.libs.nvrtc.compileProgram
File "cupy_backends\\cuda\\libs\\nvrtc.pyx", line 53, in cupy_backends.cuda.libs.nvrtc.check_status
cupy_backends.cuda.libs.nvrtc.NVRTCError: NVRTC_ERROR_COMPILATION (6)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\admin\Desktop\dql\AAA猞猁培训\T4\T4.py", line 16, in <module>
gpu_result = cp.add(matrix_a_gpu, matrix_b_gpu)
File "cupy\\_core\\_kernel.pyx", line 1374, in cupy._core._kernel.ufunc.__call__
File "cupy\\_core\\_kernel.pyx", line 1401, in cupy._core._kernel.ufunc._get_ufunc_kernel
File "cupy\\_core\\_kernel.pyx", line 1082, in cupy._core._kernel._get_ufunc_kernel
File "cupy\\_core\\_kernel.pyx", line 94, in cupy._core._kernel._get_simple_elementwise_kernel
File "cupy\\_core\\_kernel.pyx", line 82, in cupy._core._kernel._get_simple_elementwise_kernel_from_code
File "cupy\\_core\\core.pyx", line 2330, in cupy._core.core.compile_with_cache
File "D:\ie浏览器下载\python\Lib\site-packages\cupy\cuda\compiler.py", line 542, in _compile_module_with_cache
return _compile_with_cache_cuda(
source, options, arch, cache_dir, extra_source, backend,
enable_cooperative_groups, name_expressions, log_stream,
cache_in_memory, jitify)
File "D:\ie浏览器下载\python\Lib\site-packages\cupy\cuda\compiler.py", line 622, in _compile_with_cache_cuda
ptx, mapping = compile_using_nvrtc(
~~~~~~~~~~~~~~~~~~~^
source, options, arch, cu_name, name_expressions,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
log_stream, cache_in_memory, jitify)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\ie浏览器下载\python\Lib\site-packages\cupy\cuda\compiler.py", line 377, in compile_using_nvrtc
return _compile(source, options, cu_path,
name_expressions, log_stream, jitify)
File "D:\ie浏览器下载\python\Lib\site-packages\cupy\cuda\compiler.py", line 361, in _compile
compiled_obj, mapping = prog.compile(options, log_stream)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "D:\ie浏览器下载\python\Lib\site-packages\cupy\cuda\compiler.py", line 756, in compile
raise CompileException(log, self.src, self.name, options,
'nvrtc' if not runtime.is_hip else 'hiprtc')
cupy.cuda.compiler.CompileException: C:\Users\admin\AppData\Local\Temp\tmp0fnl03t8\311b0807260629cae0fa9bc0539f56cc1d00577e.cubin.cu(1): catastrophic error: cannot open source file "cupy/complex.cuh"
#include <cupy/complex.cuh>
^
1 catastrophic error detected in the compilation of "C:\Users\admin\AppData\Local\Temp\tmp0fnl03t8\311b0807260629cae0fa9bc0539f56cc1d00577e.cubin.cu".
Compilation terminated.