The question is that: is there a way to use the class \"vector\" in Cuda kernels? When I try I get the following error:
error : calling a host function(\"std
You can't use the STL in CUDA, but you may be able to use the Thrust library to do what you want. Otherwise just copy the contents of the vector to the device and operate on it normally.