CGBN icon indicating copy to clipboard operation
CGBN copied to clipboard

im not sure what im doing wrong

Open techdrag0n opened this issue 3 years ago • 1 comments

I'm trying to get a sample working, Im using VS2019, Cuda 11.4,windows 10, I created a new google test project added cuda 11.4 build dependancy added the include folders to C++ general copied the code from samle_01_add/add.cu into test.cpp still had a lot of errors showing added

#include "device_launch_parameters.h"
#include <cuda_runtime_api.h>

just before #include <cuda.h> all errors seem to be gone except one. kernel_add << <(INSTANCES + 3) / 4, 128 >> > (report, gpuInstances, INSTANCES); the single < is underlined and says expected an expression.

any suggestions are welcome, thank you

techdrag0n avatar Sep 26 '21 09:09 techdrag0n

Is it an incompatibly problem or am I missing something?

techdrag0n avatar Sep 28 '21 00:09 techdrag0n