diff --git a/rocclr/runtime/device/cpu/cpudevice.cpp b/rocclr/runtime/device/cpu/cpudevice.cpp index 6d1aa5afea..bd2e4d0af4 100644 --- a/rocclr/runtime/device/cpu/cpudevice.cpp +++ b/rocclr/runtime/device/cpu/cpudevice.cpp @@ -68,9 +68,7 @@ Device::init() NULL, NULL, NULL, - NULL, - &::malloc, - &::free + NULL }; acl_error error; compiler_ = aclCompilerInit(&opts, &error); diff --git a/rocclr/runtime/device/gpu/gpudevice.cpp b/rocclr/runtime/device/gpu/gpudevice.cpp index d23a175cf1..55f136a2db 100644 --- a/rocclr/runtime/device/gpu/gpudevice.cpp +++ b/rocclr/runtime/device/gpu/gpudevice.cpp @@ -203,9 +203,7 @@ NullDevice::create(CALtarget target) NULL, NULL, NULL, - AMD_OCL_SC_LIB, - &::malloc, - &::free + AMD_OCL_SC_LIB }; // Initialize the compiler handle acl_error error; @@ -949,9 +947,7 @@ Device::create(CALuint ordinal, CALuint numOfDevices) NULL, NULL, NULL, - AMD_OCL_SC_LIB, - &::malloc, - &::free + AMD_OCL_SC_LIB }; // Initialize the compiler handle acl_error error; @@ -1259,9 +1255,7 @@ Device::init() NULL, NULL, NULL, - AMD_OCL_SC_LIB, - &::malloc, - &::free + AMD_OCL_SC_LIB }; hsaCompiler_ = NULL;