4 Replies Latest reply on Nov 19, 2010 8:38 PM by malcolm3141

    Maximum UAV width in calResAllocLocal1D

    roddomi

      Hi,

      I need to allocate a large UAV using calResAllocLocal1D with CAL_FORMAT_UNSIGNED_INT32_1 format. This is the only UAV in my application. What is the maximum width I can allocate? Is the width given in bytes or in units of UNSIGNED_INT32_1 (i.e. four bytes)? My card is an HD5870 and according to CLInfo:

      Max memory allocation:                         268435456

      Is this the maximum width I can pass to calResAllocLocal1D (256 MB)?

      Thank you.