Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cuda allocate memory

  const size_t SIZE = 900;
  float *abc;
  cudaMalloc((void **)&abc, SIZE * SIZE * sizeof(float));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cuda #allocate #memory
ADD COMMENT
Topic
Name
7+3 =