P4 to Git Change 2040890 by skudchad@skudchad_test2_win_opencl on 2019/12/04 14:16:51
SWDEV-203814 - HIPRTC Inprocess runtime changes(part2) ReviewBoardURL = http://ocltc.amd.com/reviews/r/18342/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#37 edit ... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#35 edit ... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#50 edit ... //depot/stg/opencl/drivers/opencl/api/hip/hip_rtc.cpp#8 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#73 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#38 edit
This commit is contained in:
@@ -110,6 +110,16 @@ hipError_t hipModuleLoadData(hipModule_t *module, const void *image)
|
||||
HIP_RETURN(ihipModuleLoadData(module, image));
|
||||
}
|
||||
|
||||
hipError_t hipModuleLoadDataEx(hipModule_t *module, const void *image,
|
||||
unsigned int numOptions, hipJitOption* options,
|
||||
void** optionsValues)
|
||||
{
|
||||
/* TODO: Pass options to Program */
|
||||
HIP_INIT_API(hipModuleLoadData, module, image);
|
||||
|
||||
HIP_RETURN(ihipModuleLoadData(module, image));
|
||||
}
|
||||
|
||||
extern bool __hipExtractCodeObjectFromFatBinary(const void* data,
|
||||
const std::vector<const char*>& devices,
|
||||
std::vector<std::pair<const void*, size_t>>& code_objs);
|
||||
|
||||
Reference in New Issue
Block a user