[libc][fix] Fix buffer overrun in initialization of GPU return value
Summary: The HSA API explicitly states that the size is a count of uint32_t's not a byte count. This was erroneously being used as a simple memcpy, causing some weird behaviour. Fix this by correctly passing `1` to initialize a single integer to zero.
Loading
Please sign in to comment