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
Bu işleme şunda yer alıyor:
German
2024-01-09 17:50:46 -05:00
ebeveyn dec1158d04
işleme eaa61fc740
2 değiştirilmiş dosya ile 1 ekleme ve 2 silme
+1 -1
Dosyayı Görüntüle
@@ -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()) {
-1
Dosyayı Görüntüle
@@ -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;