AnsweredAssumed Answered

2D array using clSVMAlloc ?

Question asked by givenchy on May 10, 2015
Latest reply on May 19, 2015 by dipak

Hi ,

 

I can write a 2D dynamic array as follow :

"""

int size = 256 ;

int *temp[5] ;

temp[0] = (int *)malloc(sizeof(int) * size);

"""

 

But when I want to dynamic create a 2D array by using clSVMAlloc as previously said , how could I do this ?

 

Thanks : D

Outcomes