Commit: d816bae7bf38069ab3f6ad9043fde0294af79c82 Author: Xavier Hallade Date: Mon Oct 17 10:15:57 2022 +0200 Branches: master https://developer.blender.org/rBd816bae7bf38069ab3f6ad9043fde0294af79c82
Cycles: oneAPI: fix check_usm for debug builds =================================================================== M intern/cycles/device/oneapi/device_impl.cpp =================================================================== diff --git a/intern/cycles/device/oneapi/device_impl.cpp b/intern/cycles/device/oneapi/device_impl.cpp index 91f53fd1eae..f14eada071d 100644 --- a/intern/cycles/device/oneapi/device_impl.cpp +++ b/intern/cycles/device/oneapi/device_impl.cpp @@ -432,7 +432,8 @@ void OneapiDevice::check_usm(SyclQueue *queue_, const void *usm_ptr, bool allow_ assert(usm_type == sycl::usm::alloc::device || ((device_type == sycl::info::device_type::host || device_type == sycl::info::device_type::cpu || allow_host) && - usm_type == sycl::usm::alloc::host)); + usm_type == sycl::usm::alloc::host || + usm_type == sycl::usm::alloc::unknown)); # else /* Silence warning about unused arguments. */ (void)queue_; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs