SWDEV-255979 - Added support of __managed__ static variable

Change-Id: I9d5cbbecc8c19ec38a95c94ab4130465ba76c102
此提交包含在:
agodavar authored and Anusha Godavarthy Surya committed 2021-02-17 13:01:29 -05:00
1 父節點 0d7cd231e8
當前提交 995e6336c6
11 file changed
+202 -16

No files matched your search

+2
查看文件
@@ -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;