0

512 intrinsic I need to align memory to a 64 byte boundary in c or c++ guide

I can do that with char *ptr = aligned_alloc(64, size); aligned_alloc

But i want to do something like char ptr[size] = {0}; aligned to a block

Peter Cordes
  • 286,368
  • 41
  • 520
  • 731
Jesse Taube
  • 160
  • 9

0 Answers0