Ignore:
Timestamp:
Sep 10, 2017, 7:46:13 PM (15 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Move routines to calculate PGMRSRC1 and PGMRSRC2 to GPUId code. Apply these function in code.

File:
1 edited

Legend:

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

    r3306 r3348  
    157157};
    158158
     159uint32_t calculatePgmRSrc1(GPUArchitecture arch, cxuint vgprsNum, cxuint sgprsNum,
     160            cxuint priority, cxuint floatMode, bool privMode, bool dx10clamp,
     161            bool debugMode, bool ieeeMode);
     162
     163uint32_t calculatePgmRSrc2(GPUArchitecture arch, bool scratchEn, cxuint userDataNum,
     164            bool trapPresent, cxuint dimMask, cxuint defDimValues, bool tgSizeEn,
     165            cxuint ldsSize, cxuint exceptions);
     166
    159167};
    160168
Note: See TracChangeset for help on using the changeset viewer.