NVIDIA Developer Forums
device function arg by reference
Accelerated Computing
CUDA
CUDA Programming and Performance
biebo
January 4, 2010, 5:11pm
1
hi all
Is it safe to pass by reference in a
device
function ?
–biebo
seibert
January 4, 2010, 10:32pm
2
Yes, I do it all the time.
Related topics
Topic
Replies
Views
Activity
passing pointers by reference passing pointers by reference to an object
CUDA Programming and Performance
0
797
November 12, 2009
passing by reference in __global__ funct's arguments?
CUDA Programming and Performance
1
1698
June 21, 2012
__device__ function parameter?
CUDA Programming and Performance
1
1153
February 23, 2009
Is passing by reference allowed?
CUDA Programming and Performance
4
12928
June 12, 2013
Passing by reference to __global__ function
CUDA Programming and Performance
1
1142
July 21, 2022
Using device function can save register?
CUDA Programming and Performance
1
316
July 29, 2022
is it possible a Pointer resides in a device and point to device memory?
CUDA Programming and Performance
1
2089
March 30, 2009
__device__ function clarifications
CUDA Programming and Performance
6
21524
December 10, 2008
Device Functions Memory needs of a device function
CUDA Programming and Performance
0
1564
October 26, 2011
silly cuda function question (modifyable parameters)
CUDA Programming and Performance
6
5867
May 18, 2009