cavazos-lab / PolyBench-ACC

Other
58 stars 37 forks source link

CUDA version issue about correlation.cu #15

Open Denizdius opened 1 year ago

Denizdius commented 1 year ago

in CUDA files in correlation.cu , cudaThreadSynchronize() has been deprecated since CUDA 9.0 and is no longer recommended for use.

instead of cudaThreadSynchronize() use cudaDeviceSynchronize(), which serves the same purpose of synchronizing the CPU thread with the CUDA device.

Same issue at covariance.cu

willkill07 commented 2 weeks ago

@Denizdius this code was written long before CUDA 9.0 was released. I'm unsure if this is willing to be maintained anymore, but if you contribute a PR I'd be happy to approve.