consolidate thread local storage (#915)

* all thread local access now through single struct

* clean up old commented-out code, more use of GET_TLS()

* fewer calls to GET_TLS by passing tls as a funtion argument

* revert unnecessary change to printf

* fix failing tests due to TLS change

* fix merge conflicts in ihipOccupancyMaxActiveBlocksPerMultiprocessor
Este commit está contenido en:
Jeff Daily
2019-08-05 02:51:02 -07:00
cometido por Maneesh Gupta
padre 4bebb52feb
commit 1eb3dbf065
Se han modificado 14 ficheros con 172 adiciones y 158 borrados
+1
Ver fichero
@@ -177,6 +177,7 @@ hipError_t hipConfigureCall(
size_t sharedMem,
hipStream_t stream)
{
GET_TLS();
auto ctx = ihipGetTlsDefaultCtx();
LockedAccessor_CtxCrit_t crit(ctx->criticalData());