JJoseph Huber[libc] Treat the locks array as a bitfield
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc] Treat the locks array as a bitfield Currently we keep an internal buffer of device memory that is used to indicate ownership of a port. Since we only use this as a single bit we can simply turn this into a bitfield. I did this manually rather than having a separate type as we need very special handling of the masks used to interact with the locks. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D155511 | 2 年前 | |
[libc] Treat the locks array as a bitfield Currently we keep an internal buffer of device memory that is used to indicate ownership of a port. Since we only use this as a single bit we can simply turn this into a bitfield. I did this manually rather than having a separate type as we need very special handling of the masks used to interact with the locks. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D155511 | 2 年前 | |
[libc] Don't install the GPU startup code for now Summary: This startup code is only intended to be used internally, we shouldn't export it under a conflicting name. In the future we may package this in an exportable format. | 3 年前 |