Closed bauom closed 4 months ago
Adding the ability to use synchronize from the host code. The call should similar to numba syntax: numba.cuda.synchronize() The generated code should call: cudaDeviceSynchronize
synchronize
host
numba
from pyccel import cuda from pyccel.decorators import kernel @kernel def kfunc(): print("Hello from GPU") if "__main__" == __name__: kfunc[1, 1]() cuda.synchronize()
Describe the feature
Adding the ability to use
synchronize
from thehost
code. The call should similar tonumba
syntax: numba.cuda.synchronize() The generated code should call: cudaDeviceSynchronizeTest Code