Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cuda shared array

extern __shared__ int buf[];

//when you launch the kernel you should launch it this way;

kernel<<<blocks,threads,numbytes_for_shared>>>(...);
 
PREVIOUS NEXT
Tagged: #cuda #shared #array
ADD COMMENT
Topic
Name
6+5 =