This project is read-only.

__device__ funcitons in cudafy

May 5, 2015 at 8:18 AM
Is it possible to have "device functions" in cudafy i.e. functions who are equivalent to the functions using the device keyword in cuda ?
May 6, 2015 at 1:44 PM
All functions with a return type are automatically made into device functions. You can also explicitly control this by using the appropriate attribute. Have a good look a the two example projects.
All the best,
May 17, 2015 at 11:25 AM
Hi, thanks for the reply!
I will have a look at the examples more closely, I must have missed it the first time.

Is it the CudafyByExample and CudafyExamples projects you are referring to? If so do
you think you can point me to which part of the projects where device functions are described?
May 18, 2015 at 5:03 AM
I'm quite sure you are capable of finding this yourself ;-) Take the time to look through the user manual and code, the investment will pay off