SWDEV-255979 - Added support of __managed__ static variable

Change-Id: I9d5cbbecc8c19ec38a95c94ab4130465ba76c102


[ROCm/hip commit: 995e6336c6]
Tento commit je obsažen v:
agodavar
2021-02-16 07:20:58 -05:00
odevzdal Anusha Godavarthy Surya
rodič db0c3fdaaf
revize 39c608e98d
11 změnil soubory, kde provedl 202 přidání a 16 odebrání
+2
Zobrazit soubor
@@ -222,6 +222,8 @@ hipError_t ihipModuleLaunchKernel(hipFunction_t f, uint32_t globalWorkSizeX,
blockDimX, blockDimY, blockDimZ, sharedMemBytes, hStream, kernelParams, extra, startEvent,
stopEvent, flags, params);
HIP_RETURN_ONFAIL(PlatformState::instance().initStatManagedVarDevicePtr(ihipGetDevice()));
if (f == nullptr) {
DevLogPrintfError("%s", "Function passed is null");
return hipErrorInvalidImage;