You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E:\github\Object-Tracking-PyCUDA>python OTVA_PYCUDA.py
OTVA_PYCUDA.py:101: UserWarning: The CUDA compiler succeeded, but said the following:
kernel.cu
mod = compiler.SourceModule(kernel_code)
Window 1 histogram cpu time is 0.05217933654785156
Window 2 histogram cpu time is 0.039226531982421875
C:\Program Files\Python36\lib\site-packages\pycuda\elementwise.py:75: UserWarning: The CUDA compiler succeeded, but said the following:
kernel.cu
options=options, keep=keep)
Traceback (most recent call last):
File "OTVA_PYCUDA.py", line 182, in
given_hist(img_gpu1, bin_gpu1, block=(1, 1, 1), grid=(h1 * w1 / 96, 1, 1))
File "C:\Program Files\Python36\lib\site-packages\pycuda\driver.py", line 402, in function_call
func._launch_kernel(grid, block, arg_buf, shared, None)
TypeError: No registered converter was able to produce a C++ rvalue of type unsigned int from this Python object of type float
The text was updated successfully, but these errors were encountered:
E:\github\Object-Tracking-PyCUDA>python OTVA_PYCUDA.py
OTVA_PYCUDA.py:101: UserWarning: The CUDA compiler succeeded, but said the following:
kernel.cu
mod = compiler.SourceModule(kernel_code)
Window 1 histogram cpu time is 0.05217933654785156
Window 2 histogram cpu time is 0.039226531982421875
C:\Program Files\Python36\lib\site-packages\pycuda\elementwise.py:75: UserWarning: The CUDA compiler succeeded, but said the following:
kernel.cu
options=options, keep=keep)
Traceback (most recent call last):
File "OTVA_PYCUDA.py", line 182, in
given_hist(img_gpu1, bin_gpu1, block=(1, 1, 1), grid=(h1 * w1 / 96, 1, 1))
File "C:\Program Files\Python36\lib\site-packages\pycuda\driver.py", line 402, in function_call
func._launch_kernel(grid, block, arg_buf, shared, None)
TypeError: No registered converter was able to produce a C++ rvalue of type unsigned int from this Python object of type float
The text was updated successfully, but these errors were encountered: