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
  • 328,167
  • 45
  • 605
  • 847
Jesse Taube
  • 402
  • 3
  • 11

0 Answers0