SWDEV-255979 - Added support of __managed__ static variable
Change-Id: I9d5cbbecc8c19ec38a95c94ab4130465ba76c102
[ROCm/hip commit: 995e6336c6]
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
db0c3fdaaf
commit
39c608e98d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user