P4 to Git Change 1339730 by lmoriche@lmoriche_opencl_dev on 2016/11/10 16:37:37
SWDEV-103793 - [ROCm CQE][OCLonLC][ISV] QCDGPU test fails - The runtime should not report cl_amd_fp64, cl_khr_fp64 should be used instead. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#10 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#9 edit
This commit is contained in:
@@ -81,10 +81,12 @@ Settings::create(bool doublePrecision)
|
||||
if (doublePrecision_) {
|
||||
// Enable KHR double precision extension
|
||||
enableExtension(ClKhrFp64);
|
||||
#if !defined(WITH_LIGHTNING_COMPILER)
|
||||
// Also enable AMD double precision extension?
|
||||
enableExtension(ClAmdFp64);
|
||||
#endif // !defined(WITH_LIGHTNING_COMPILER)
|
||||
}
|
||||
|
||||
|
||||
enableExtension(ClKhrSubGroups);
|
||||
|
||||
enableExtension(ClKhrDepthImages);
|
||||
|
||||
Reference in New Issue
Block a user