OK My visual studio is telling me that the identifier “add” is not defined, as in add<<<N,1>>>( dev_a, dev_b, dev_c ). The handle error and CudaMallocs are working just fine as far as I can tell. I have the dependencies set on Cuda 11, using visual studio 2019 with desktop c++ installed and I have the CUDA toolkit installed. My file includes are
Is there a header I am missing? I do not understand why cudaMalloc is working but add is undefined for the CUDA Functions?