P4 to Git Change 1982690 by yaxunl@yaxunl-lc10 on 2019/08/13 16:57:00

SWDEV-145570 - Rename OCL_DUMP_CODE_OBJECT to GPU_DUMP_CODE_OBJECT.

	Since this is used by both OCL and HIP. Rename to avoid confusion.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#315 edit


[ROCm/clr commit: 4c8ef11012]
此提交包含在:
foreman
2019-08-13 16:58:45 -04:00
父節點 99dc1fcfb9
當前提交 98ba3376c9
共有 2 個檔案被更改,包括 3 行新增 和 3 行删除
+1 -1
查看文件
@@ -1440,7 +1440,7 @@ bool Program::linkImplLC(amd::option::Options* options) {
case ACL_TYPE_ISA: {
amd::Comgr::destroy_data_set(inputs);
binary_t isaBinary = binary();
if (OCL_DUMP_CODE_OBJECT) {
if (GPU_DUMP_CODE_OBJECT) {
dumpCodeObject(std::string{(const char*)isaBinary.first, isaBinary.second});
}
return setKernels(options, const_cast<void *>(isaBinary.first), isaBinary.second);