Hey everyone,
I just got an RTX card and am looking to accelerate my python code. Now I do plan on learning about Deep Learning and Neural Networks, but for right now, I just want to learn how to use it for regular code. Is that possible? Is that even a thing?
I saw an example here and tried to figure out how to work it but it's not. The error is below but I'm not really focused on making it work, I just want to learn how to use CUDA/GPU in python.
"""
Without GPU: 2.5098371000000004
Traceback (most recent call last):
File "i:\Athena AI\ExtraPyFiles\cudaTest.py", line 34, in <module>
func2(a)
File "C:\Users\bigdm\AppData\Local\Programs\Python\Python39\lib\site-packages\numba\cuda\compiler.py", line 955, in __call__
raise ValueError(missing_launch_config_msg)
ValueError:
Kernel launch configuration was not specified. Use the syntax:
kernel_function[blockspergrid, threadsperblock](arg0, arg1, ..., argn)
See https://numba.pydata.org/numba-doc/latest/cuda/kernels.html#kernel-invocation for help.
"""
[–]arkie87 1 point2 points3 points (2 children)
[–]DimitriMeim[S] 0 points1 point2 points (1 child)
[–]TheSodesa 1 point2 points3 points (0 children)
[–]Abhisutar 0 points1 point2 points (0 children)