aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread/Mutex
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2024-06-03 00:44:08 +0200
committerRobin Voetter <robin@voetter.nl>2024-06-10 20:32:49 +0200
commita3b1ba82f57d5d8981a471850cbbb0db29c3a479 (patch)
tree848b20d5c8929a1198f331725865f1a08c07288d /lib/std/Thread/Mutex
parent4e7159ae1d08ce74548e0adc3b3936aacc23a06e (diff)
downloadzig-a3b1ba82f57d5d8981a471850cbbb0db29c3a479.tar.gz
zig-a3b1ba82f57d5d8981a471850cbbb0db29c3a479.zip
spirv: new vectorization helper
The old vectorization helper (WipElementWise) was clunky and a bit annoying to use, and it wasn't really flexible enough. This introduces a new vectorization helper, which uses Temporary and Operation types to deduce a Vectorization to perform the operation in a reasonably efficient manner. It removes the outer loop required by WipElementWise so that implementations of AIR instructions are cleaner. This helps with sanity when we start to introduce support for composite integers. airShift, convertToDirect, convertToIndirect, and normalize are initially implemented using this new method.
Diffstat (limited to 'lib/std/Thread/Mutex')
0 files changed, 0 insertions, 0 deletions