0

Hi I am trying to malloc align each location of an array to 128 bits.
I am using the method malloc_align in linux to align arrays and so on.
But in this case I want to align each position of an array to 128 bits

for(i=0;i<size;i++){

//N=7 2^N=128
array=malloc_align(sizeof(double),7) ; //wont work
any suggestions ???
thanks

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by Ancient Dragon
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.