SWDEV-467414 - add sharedMemPerBlockOptin = sharedMemPerBlock
On some platforms user can ask for extended shared memory for a particular kernel in some cases. This feature does not exist on HIP at the moment. So we are setting it to sharedMemPerBlock which is the maximum user can expect for their kernels. Change-Id: I81005cf0d1c9fb941e77d34fb8385241ffe5bdd0
이 커밋은 다음에 포함됨:
커밋한 사람
Jatin Jaikishan Chaudhary
부모
a5664fc93f
커밋
4b95e7bc87
@@ -580,7 +580,7 @@ hipError_t ihipGetDeviceProperties(hipDeviceProp_tR0600* props, int device) {
|
||||
deviceProps.localL1CacheSupported = 1;
|
||||
deviceProps.persistingL2CacheMaxSize = info.l2CacheSize_;
|
||||
deviceProps.reservedSharedMemPerBlock = 0;
|
||||
deviceProps.sharedMemPerBlockOptin = 0;
|
||||
deviceProps.sharedMemPerBlockOptin = info.localMemSizePerCU_;
|
||||
|
||||
// Unsupported features
|
||||
// Single to double precision perf ratio
|
||||
|
||||
새 이슈에서 참조
사용자 차단