Emil Smęt
Emil Smęt

Reputation: 909

Adding CUDA to WFA

I'm trying to use cuda kernels(some of CUPTI samples included in Cuda Toolkit to get info about GPU and performance) in WFA application. How I should do it?

When I try to add .cu file it shows me this type of errors:

"this declaration has no storage class or type specifier"

The things that are underlined are cuda include files and therefore other cuda elements.

Just to be clear I can run CUDA runtime projects, and cuda applications - it causes no problem.

I'm using win 7, visual studio 2010, I have newest Toolkit, drivers, and Nsight.

Upvotes: 0

Views: 152

Answers (1)

Emil Smęt
Emil Smęt

Reputation: 909

In solution explorer you click right on you project and choose "Build Customizations..." and then you check "CUDA 4.X(.targets,.props)".

Upvotes: 1

Related Questions