| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Offload] Make ASSERT_ERROR output more readable (#157653) | 10 个月前 | |
[Offload] Add device info for shared memory (#167817) | 8 个月前 | |
[Offload] Remove check on kernel argument sizes (#162121) Summary: This check is unnecessarily restrictive and currently incorrectly fires for any size less than eight bytes. Just remove it, we do sanity checks elsewhere and at some point need to trust the ABI. | 9 个月前 | |
[Offload] OL_EVENT_INFO_IS_COMPLETE (#153194) A simple info query for events that returns whether the event is complete or not. | 11 个月前 | |
[Offload] Implement olShutDown (#144055) olShutDown was not properly calling deinit on the platforms, resulting in random segfaults on AMD devices. As part of this, olInit and olShutDown now alloc and free the offload context rather than it being static. This allows olShutDown to be called within a destructor of a static object (like the tests do) without having to worry about destructor ordering. | 1 年前 | |
[Offload] Remove check on kernel argument sizes (#162121) Summary: This check is unnecessarily restrictive and currently incorrectly fires for any size less than eight bytes. Just remove it, we do sanity checks elsewhere and at some point need to trust the ABI. | 9 个月前 | |
[Offload] Add olGetMemInfo with platform-less API (#159581) | 10 个月前 | |
[Offload] Add check-offload-unit for liboffload unittests (#137312) Adds a check-offload-unit target for running the liboffload unit test suite. This unit test binary runs the tests for every available device. This can optionally filtered to devices from a single platform, but the check target runs on everything. The target is not part of check-offload and does not get propagated to the top level build. I'm not sure if either of these things are desirable, but I'm happy to look into it if we want. Also remove the offload/unittests/Plugins test as it's dead code and doesn't build. | 1 年前 | |
[Offload] Implement 'olIsValidBinary' in offload and clean up (#159658) Summary: This exposes the 'isDeviceCompatible' routine for checking if a binary *can* be loaded. This is useful if people don't want to consume errors everywhere when figuring out which image to put to what device. I don't know if this is a good name, I was thining like olIsCompatible or whatever. Let me know what you think. Long term I'd like to be able to do something similar to what OpenMP does where we can conditionally only initialize devices if we need them. That's going to be support needed if we want this to be more generic. | 10 个月前 | |
[Offload] Improve olDestroyQueue logic (#153041) Previously, olDestroyQueue would not actually destroy the queue, instead leaving it for the device to clean up when it was destroyed. Now, the queue is either released immediately if it is complete or put into a list of "pending" queues if it is not. Whenever we create a new queue, we check this list to see if any are now completed. If there are any we release their resources and use them instead of pulling from the pool. This prevents long running programs that create and drop many queues without syncing them from leaking memory all over the place. | 10 个月前 | |
[Offload] Cache symbols in program (#148209) When creating a new symbol, check that it already exists. If it does, return that pointer rather than building a new symbol structure. | 1 年前 | |
[Offload] Add olGetMemInfo with platform-less API (#159581) | 10 个月前 |