empty_knapsack

What's exact meaning of CAL_RESALLOC_GLOBAL_BUFFER flag?

Discussion created by empty_knapsack on Aug 15, 2009
Latest reply on Aug 24, 2009 by MicahVillmow

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...

Outcomes