SWDEV-333073 - HIP_INIT_API to handle no return case

Change-Id: I78d43e88cc196047a4cb5d6fcf756339c0e46e80


[ROCm/clr commit: 1074b22c48]
Αυτή η υποβολή περιλαμβάνεται σε:
Sarbojit Sarkar authored and Sarbojit Sarkar committed 2022-06-24 12:53:18 -04:00
1 γονέας 32a73102ea
υποβολή 86481e460d
3 files changed
+76 -16

No files matched your search

@@ -278,7 +278,6 @@ hipError_t hipGetSymbolSize(size_t* sizePtr, const void* symbol) {
hipError_t ihipCreateGlobalVarObj(const char* name, hipModule_t hmod, amd::Memory** amd_mem_obj,
hipDeviceptr_t* dptr, size_t* bytes) {
HIP_INIT();
/* Get Device Program pointer*/
amd::Program* program = as_amd(reinterpret_cast<cl_program>(hmod));