Update hip_module.cpp

Typo.

[ROCm/clr commit: 43fca684c8]
Cette révision appartient à :
Alex Voicu
2018-05-18 17:50:45 +01:00
révisé par GitHub
Parent 5a9d5a931b
révision 677e945726
+1 -1
Voir le fichier
@@ -485,7 +485,7 @@ namespace
&prop, ihipGetTlsDefaultCtx()->getDevice()->_deviceId); &prop, ihipGetTlsDefaultCtx()->getDevice()->_deviceId);
// TODO: at the moment there is no way to query the count of registers // TODO: at the moment there is no way to query the count of registers
// available per CU, therefore we hardcode it to 64 KiRegisters. // available per CU, therefore we hardcode it to 64 KiRegisters.
prop.regsPerBlock = prop.regsPerBlock ? prop.regsPerBlock : 64 * 1024. prop.regsPerBlock = prop.regsPerBlock ? prop.regsPerBlock : 64 * 1024;
r.localSizeBytes = header.workitem_private_segment_byte_size; r.localSizeBytes = header.workitem_private_segment_byte_size;
r.sharedSizeBytes = header.workgroup_group_segment_byte_size; r.sharedSizeBytes = header.workgroup_group_segment_byte_size;