Don't make a copy of the embedded device binaries
Embedded device binaries should not be cloned if we want the ROCR's
code object URI for this binary to point to the container (host
executable or shared library) instead of a memory location.
Depends-On: I7973bb0243f5a2d1b639b8a88445cfe6af919dd7
Change-Id: Id3afc981e027e5371114d011f2caaa6414f5fc58
[ROCm/hip commit: f21fd3e22e]
このコミットが含まれているのは:
1 親
f634b3681f
コミット
1e3a301694
1ファイル変更
+2
-1
@@ -164,7 +164,8 @@ void PlatformState::digestFatBinary(const void* data, std::vector<std::pair<hipM
|
||||
if (program == nullptr) {
|
||||
return;
|
||||
}
|
||||
if (CL_SUCCESS == program->addDeviceProgram(*ctx->devices()[0], code_objs[dev].first, code_objs[dev].second)) {
|
||||
if (CL_SUCCESS == program->addDeviceProgram(
|
||||
*ctx->devices()[0], code_objs[dev].first, code_objs[dev].second, false)) {
|
||||
programs.at(dev) = std::make_pair(reinterpret_cast<hipModule_t>(as_cl(program)) , false);
|
||||
}
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする