correct cachesize to output correct value
Change-Id: I5db031591eb718b0c12e78a35e4b19349de9526d
[ROCm/hip commit: 820a914b98]
このコミットが含まれているのは:
1 親
5be53b00c6
コミット
8580bba30c
1ファイル変更
+1
-1
@@ -769,7 +769,7 @@ hipError_t ihipDevice_t::initProperties(hipDeviceProp_t* prop)
|
||||
uint32_t cache_size[4];
|
||||
err = hsa_agent_get_info(_hsaAgent, HSA_AGENT_INFO_CACHE_SIZE, cache_size);
|
||||
DeviceErrorCheck(err);
|
||||
prop->l2CacheSize = cache_size[1];
|
||||
prop->l2CacheSize = cache_size[0];
|
||||
|
||||
/* Computemode for HSA Devices is always : cudaComputeModeDefault */
|
||||
prop->computeMode = 0;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする