2 Replies Latest reply on Aug 24, 2009 5:50 PM by MicahVillmow

    What's exact meaning of CAL_RESALLOC_GLOBAL_BUFFER flag?

    empty_knapsack

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