user1118148
user1118148

Reputation: 193

regarding cuda performance optimization

For those cuda functions which are only going to be called from device, does it matter in terms of performance if we declare them __ global __ or __ device __ ?

Upvotes: 1

Views: 120

Answers (1)

harrism
harrism

Reputation: 27899

As of CUDA 4.1, __global__ functions cannot be called from __device__ functions.

Upvotes: 1

Related Questions