CudaAPIError: [1] Call to cuLaunchKernel results in CUDA_ERROR_INVALID_VALUE in Python

后端 未结 1 412
野性不改
野性不改 2021-01-21 15:38

I\'m having this error when trying to run this code in Python using CUDA. I\'m following this tutorial but i\'m trying it in Windows 7 x64 machine.

https://www.youtube.

相关标签:
1条回答
  • 2021-01-21 16:36

    I found a solution to my problem through NVIDIA Developer Forum. If you wanna know more info regarding the solution check out this link.

    https://devtalk.nvidia.com/default/topic/962843/cuda-programming-and-performance/cudaapierror-1-call-to-culaunchkernel-results-in-cuda_error_invalid_value-in-python/?offset=3#4968130

    In Short:

    • When I changed the N = 32000 or any other smaller amount, it did work nicely.
    • In fact, this means I am not compiling it in correct GPU type(check_cuda is the function call to verify it).

    Hope my answer would help for someone.

    0 讨论(0)
提交回复
热议问题