P4 to Git Change 1766793 by asalmanp@asalmanp-ocl-stg on 2019/04/08 12:17:18

SWDEV-132899 - [OCL][GFX10] Enable LC by default on gfx10+

	reviewBoardURL = http://ocltc.amd.com/reviews/r/17099/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#75 edit


[ROCm/clr commit: 5420241b68]
This commit is contained in:
foreman
2019-04-08 12:32:08 -04:00
والد a050cac8dc
کامیت ec69f42679
@@ -192,6 +192,7 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
case Pal::AsicRevision::Navi10_A0:
case Pal::AsicRevision::Navi10Lite:
gfx10Plus_ = true;
useLightning_ = (!flagIsDefault(GPU_ENABLE_LC)) ? GPU_ENABLE_LC : true;
hsailExplicitXnack_ = static_cast<uint>(palProp.gpuMemoryProperties.flags.pageMigrationEnabled
|| palProp.gpuMemoryProperties.flags.iommuv2Support);
enableWgpMode_ = GPU_ENABLE_WGP_MODE;