Is it only warns about misalign when used or more actions performed when called calResAllocXXX() with CAL_RESALLOC_GLOBAL_BUFFER flag?
More specifically my question is: Is it safe to use resource allocated with calResCreate2D() and pinned memory as global buffer? Assuming the fact that width of resource is multiple of 4096 and memory is page aligned.
Actually I tried to do this and it works OK but may be some pitfalls exists...