Don't blame CudaMalloc
Most of the time your Cuda code seems to run well until it reaches to a cudaMalloc call and crashes. Don't blame cudaMalloc, his policy is simple:
"I will fail if anything bad happened before me."
Start blaming your kernels!
Written by Seçkin Savaşçı
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#C
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#