Altera_Forum
Honored Contributor
8 years agoProblem with 128Bits from RTL module and Opencl
I have an output from RTL module with 128 bits width and I want to transfert this output to global memory for print in linux terminal.
So, I know the type of 64 bits is unsigned long and What's the type of 128 bits ? I found the type unsigned long long but The opencl guide says that these types (unsigned long long, ulong long, ulong longn: A 128-bit unsigned integer scalar and vector.) are reserved and cannot be used by applications as type names. Please can someone tell me What's the type I can declare in my kernel and in my cpp files ? I tried __global unsigned long long *restrict startx and also I tried __global ulong2 *restrict but no success ! What's exactly the type of 128 bits and 256bits and 512 bits that can I define in kernel.cl and API OpenCL (.cpp) ? Thank you.