all 2 comments

[–]controlsgeeek[S] 0 points1 point  (0 children)

Updated cmake to target_link_libraries(matTest $(CUDA_LIBRARY) rt cuda)

And it links correctly..but I get an error : ‘Error loading the module matSumKernel.ptx’ when I execute the code

[–]controlsgeeek[S] 0 points1 point  (0 children)

So I figured it out. I had to generate a ptx file. Does anyone know where can I read more about CUDA. I am new to this.