P4 to Git Change 1602019 by marsenau@marsenau-fiji on 2018/09/05 14:33:40
SWDEV-79445 - Remove use of irif.
This is now directly linked in the library build and will be
removed as a standalone library.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#67 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#83 edit
[ROCm/clr commit: 1380df62d9]
这个提交包含在:
1 父节点
4208e8e04b
当前提交
c1e0ad299d
2 个文件已更改
+7
-11
没有与搜索条件相匹配的文件
@@ -1048,17 +1048,15 @@ bool LightningProgram::linkImpl(amd::option::Options* options) {
|
||||
C->NewBufferReference(DT_LLVM_BC, (const char*)opencl_amdgcn, opencl_amdgcn_size);
|
||||
Data* ocml_bc = C->NewBufferReference(DT_LLVM_BC, (const char*)ocml_amdgcn, ocml_amdgcn_size);
|
||||
Data* ockl_bc = C->NewBufferReference(DT_LLVM_BC, (const char*)ockl_amdgcn, ockl_amdgcn_size);
|
||||
Data* irif_bc = C->NewBufferReference(DT_LLVM_BC, (const char*)irif_amdgcn, irif_amdgcn_size);
|
||||
|
||||
if (!opencl_bc || !ocml_bc || !ockl_bc || !irif_bc) {
|
||||
if (!opencl_bc || !ocml_bc || !ockl_bc) {
|
||||
buildLog_ += "Error: Failed to open the bitcode library.\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
inputs.push_back(opencl_bc); // depends on oclm & ockl
|
||||
inputs.push_back(ockl_bc); // depends on irif
|
||||
inputs.push_back(ocml_bc); // depends on irif
|
||||
inputs.push_back(irif_bc);
|
||||
inputs.push_back(ockl_bc);
|
||||
inputs.push_back(ocml_bc);
|
||||
|
||||
// open the control functions
|
||||
auto isa_version = get_oclc_isa_version(dev().deviceInfo().gfxipVersion_);
|
||||
|
||||
在新工单中引用
屏蔽一个用户