SWDEV-308644 - reorganize extra blit kernel in PAL stack
Change-Id: I9d853e8d417ef75b522184d83646ec4b9fa8669b
[ROCm/clr commit: 376ea1e293]
This commit is contained in:
committato da
Julia Jiang
parent
1b87d3a497
commit
41eef3076e
@@ -357,7 +357,7 @@ Device::BlitProgram::~BlitProgram() {
|
||||
}
|
||||
|
||||
bool Device::BlitProgram::create(amd::Device* device, const std::string& extraKernels,
|
||||
const char* extraOptions) {
|
||||
const std::string& extraOptions) {
|
||||
std::vector<amd::Device*> devices;
|
||||
devices.push_back(device);
|
||||
std::string kernels(device::BlitLinearSourceCode);
|
||||
@@ -383,7 +383,7 @@ bool Device::BlitProgram::create(amd::Device* device, const std::string& extraKe
|
||||
opt += "-Wf,--force_disable_spir -fno-lib-no-inline -fno-sc-keep-calls ";
|
||||
}
|
||||
|
||||
if (extraOptions != nullptr) {
|
||||
if (!extraOptions.empty()) {
|
||||
opt += extraOptions;
|
||||
}
|
||||
if (!GPU_DUMP_BLIT_KERNELS) {
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user