[utils] Fix AllocNoThrow on TSan
TSan has the same memory limit issue as ASan and MSan.
I found this on Mac. I'm not sure why it hadn't already been found on
Linux. Building with TSan on Mac requires CMake and a recent system
Clang (not the hermetic one, as it doesn't have TSan support on Mac).
cmake -S . -B out/cmake -GNinja \
-DCMAKE_BUILD_TYPE=Debug \
-DDAWN_BUILD_TESTS=ON \
-DDAWN_ENABLE_TSAN=ON
cmake --build out/cmake -t dawn_end2end_tests
out/cmake/dawn_end2end_tests
Bug: none
Change-Id: I34e1025ebb49253f901358452566f77b261bc81f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/345275
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.