[libc] Add memory fence utility to the GPU utilities (#91756)
Summary: GPUs like to execute instructions in the background until something excplitely consumes them. We are working on adding some microbenchmarking code, which requires flushing the pending memory operations beforehand. This patch simply adds these utility functions that will be used in the near future.
parent
5d18d575
Please register or sign in to comment