mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Revert "fix: Add missing fp64 extensions in caps initialization"
This reverts commit 22a719d62f.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
98fd9f5687
commit
f4d05a8e6b
@@ -64,7 +64,6 @@ void ClDevice::setupFp64Flags() {
|
||||
deviceInfo.doubleFpConfig = defaultFpFlags | CL_FP_SOFT_FLOAT;
|
||||
deviceInfo.nativeVectorWidthDouble = 1;
|
||||
deviceInfo.preferredVectorWidthDouble = 1;
|
||||
deviceExtensions += "cl_khr_fp64 ";
|
||||
}
|
||||
} else {
|
||||
deviceInfo.doubleFpConfig = 0;
|
||||
@@ -427,13 +426,6 @@ void ClDevice::initializeCaps() {
|
||||
|
||||
initializeOsSpecificCaps();
|
||||
getOpenclCFeaturesList(hwInfo, deviceInfo.openclCFeatures, getDevice().getCompilerProductHelper());
|
||||
if (hwInfo.capabilityTable.ftrSupportsFP64Emulation &&
|
||||
getDevice().getExecutionEnvironment()->isFP64EmulationEnabled()) {
|
||||
cl_name_version openClCFeature;
|
||||
openClCFeature.version = CL_MAKE_VERSION(3, 0, 0);
|
||||
strcpy_s(openClCFeature.name, CL_NAME_VERSION_MAX_NAME_SIZE, "__opencl_c_fp64");
|
||||
deviceInfo.openclCFeatures.push_back(openClCFeature);
|
||||
}
|
||||
}
|
||||
|
||||
void ClDevice::initializeExtensionsWithVersion() {
|
||||
|
||||
Reference in New Issue
Block a user