reverted change for cache size query
Change-Id: I44a1f43818cd287a2a3b6265f43d183f9bd5b71c
[ROCm/hip commit: e1c1b4c009]
Ta zmiana jest zawarta w:
%! (template.HTML=
Aditya Atluri)złożyło 2016-10-25 11:03:35 -05:00
1 rodzic
8580bba30c
złożenie
84d64ef382
Plik 1 zmieniony
+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[0];
|
||||
prop->l2CacheSize = cache_size[1];
|
||||
|
||||
/* Computemode for HSA Devices is always : cudaComputeModeDefault */
|
||||
prop->computeMode = 0;
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika