SWDEV-301667 - Fix HSAIL compilation path for Blit
Recently some unused compiler options for HSAIL path were removed, but it affected blit kernels compilation. Hence, remove those options. Also delete assert for device to device copy in SDMA path for now. Change-Id: Ib5d7f063af2ab4a3fc5d73d426e39c391b1011ac
This commit is contained in:
@@ -446,7 +446,7 @@ bool Device::BlitProgram::create(amd::Device* device, const std::string& extraKe
|
||||
// Build all kernels
|
||||
std::string opt = "-cl-internal-kernel ";
|
||||
if (!device->settings().useLightning_) {
|
||||
opt += "-Wf,--force_disable_spir -fno-lib-no-inline -fno-sc-keep-calls ";
|
||||
opt += "-Wf,--force_disable_spir ";
|
||||
}
|
||||
|
||||
if (!extraOptions.empty()) {
|
||||
|
||||
@@ -1474,7 +1474,6 @@ bool Resource::partialMemCopyTo(VirtualGPU& gpu, const amd::Coord3D& srcOrigin,
|
||||
GpuEvent event;
|
||||
EngineType activeEngineID = gpu.engineID_;
|
||||
static const bool waitOnBusyEngine = true;
|
||||
assert(!(desc().cardMemory_ && dstResource.desc().cardMemory_) && "Unsupported configuraiton!");
|
||||
uint64_t gpuMemoryOffset = 0;
|
||||
uint64_t gpuMemoryRowPitch = 0;
|
||||
uint64_t imageOffsetx = 0;
|
||||
|
||||
Reference in New Issue
Block a user