SWDEV-431104 - Query atomics attribute in Win
Make hipDeviceAttributeHostNativeAtomicSupported return right value in Windows Change-Id: I149a8629769cd0d5848ffefb24f1752678a685b8
Этот коммит содержится в:
@@ -585,6 +585,9 @@ void NullDevice::fillDeviceInfo(const Pal::DeviceProperties& palProp,
|
||||
if (amd::IS_HIP && ipLevel_ >= Pal::GfxIpLevel::GfxIp9) {
|
||||
info_.svmCapabilities_ |= CL_DEVICE_SVM_ATOMICS;
|
||||
}
|
||||
|
||||
info_.pcie_atomics_ = palProp.pciProperties.flags.atomicOpsSupported ? true : false;
|
||||
|
||||
// OpenCL2.0 device info fields
|
||||
info_.maxWriteImageArgs_ = MaxReadWriteImage; //!< For compatibility
|
||||
info_.maxReadWriteImageArgs_ = MaxReadWriteImage;
|
||||
|
||||
Ссылка в новой задаче
Block a user