P4 to Git Change 1989211 by vsytchen@vsytchen-remote-ocl-win10 on 2019/08/26 16:54:35

SWDEV-201325 - [OpenCL][LC][Gfx10] Kernels fail to compile when HBCC is enabled

	1. Don't add +xnack to the target triplet when compiling for gfx10+

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/17885/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#58 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#158 edit
이 커밋은 다음에 포함됨:
foreman가 2019-08-26 16:56:42 -04:00를 커밋했습니다
1 부모 0b191a1c2c
커밋 eac38fdde6
2 파일이 변경됨
+7 -6

검색과 일치하는 파일 없음

+3 -2
파일 보기
@@ -885,8 +885,9 @@ bool Device::create(Pal::IDevice* device) {
// XNACK flag should be set for PageMigration | IOMMUv2 Support
uint isXNACKSupported =
static_cast<uint>(properties_.gpuMemoryProperties.flags.pageMigrationEnabled ||
properties_.gpuMemoryProperties.flags.iommuv2Support);
(ipLevel_ < Pal::GfxIpLevel::GfxIp10_1) &&
(static_cast<uint>(properties_.gpuMemoryProperties.flags.pageMigrationEnabled ||
properties_.gpuMemoryProperties.flags.iommuv2Support));
uint subtarget = isXNACKSupported;
// Update HW info for the device