allocate bytebuffer inside CUDA-C Lib - 3