Changeset 3349 in CLRX


Ignore:
Timestamp:
Sep 10, 2017, 8:38:44 PM (15 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Doxygen for calculatePgmRsrcX. commenting.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CLRX/utils/GPUId.h

    r3348 r3349  
    157157};
    158158
     159/// calculate PGMRSRC1 register value
    159160uint32_t calculatePgmRSrc1(GPUArchitecture arch, cxuint vgprsNum, cxuint sgprsNum,
    160161            cxuint priority, cxuint floatMode, bool privMode, bool dx10clamp,
    161162            bool debugMode, bool ieeeMode);
    162163
     164/// calculate PGMRSRC2 register value
    163165uint32_t calculatePgmRSrc2(GPUArchitecture arch, bool scratchEn, cxuint userDataNum,
    164166            bool trapPresent, cxuint dimMask, cxuint defDimValues, bool tgSizeEn,
  • CLRadeonExtender/trunk/utils/GPUId.cpp

    r3348 r3349  
    267267    if (dimMask != UINT_MAX)
    268268        dimValues = ((dimMask&7)<<7) | (((dimMask&4) ? 2 : (dimMask&2) ? 1 : 0)<<11);
    269     else //
     269    else // use default value for dimensions
    270270        dimValues = defDimValues;
    271271    return uint32_t(scratchEn ? 1U : 0U) | (uint32_t(userDataNum)<<1) |
Note: See TracChangeset for help on using the changeset viewer.