| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Offload][NFC] Rename src/ -> libomptarget/ (#126573) Summary: The name src is confusing when combined with the plugins and the newly added liboffload. | 1 年前 | |
| 8 个月前 | ||
[Offload][NFCI] Remove coupling to omp target for version scripting (#141637) Summary: This is a weird dependency on libomp just for testing if version scripts work. We shouldn't need to do this because LLVM already checks for this. I believe this should be available as well in standalone when we call addLLVM but I did not test that directly. | 1 年前 | |
[Offload][NFC] Rename src/ -> libomptarget/ (#126573) Summary: The name src is confusing when combined with the plugins and the newly added liboffload. | 1 年前 | |
[Offload][NFC] Rename src/ -> libomptarget/ (#126573) Summary: The name src is confusing when combined with the plugins and the newly added liboffload. | 1 年前 | |
[OFFLOAD] Add support for more fine grained debug messages control (#165416) This PR introduces new debug macros that allow a more fined control of which debug message to output and introduce C++ stream style for debug messages. Changing existing messages (except a few that I changed for testing) will come in subsequent PRs. I also think that we should make debug enabling OpenMP agnostic but, for now, I prioritized maintaing the current libomptarget behavior for now, and we might need more changes further down the line as we we decouple libomptarget. | 8 个月前 | |
[OFFLOAD] Add support for more fine grained debug messages control (#165416) This PR introduces new debug macros that allow a more fined control of which debug message to output and introduce C++ stream style for debug messages. Changing existing messages (except a few that I changed for testing) will come in subsequent PRs. I also think that we should make debug enabling OpenMP agnostic but, for now, I prioritized maintaing the current libomptarget behavior for now, and we might need more changes further down the line as we we decouple libomptarget. | 8 个月前 | |
[OpenMP] Adds omp_target_is_accessible routine (#138294) Adds omp_target_is_accessible routine. Refactors common code from omp_target_is_present to work for both routines. --------- Co-authored-by: Shilei Tian <i@tianshilei.me> | 9 个月前 | |
| 8 个月前 | ||
[Offload] Introduce ATTACH map-type support for pointer attachment. (#149036) This patch introduces libomptarget support for the ATTACH map-type, which can be used to implement OpenMP conditional compliant pointer attachment, based on whether the pointer/pointee is newly mapped on a given construct. For example, for the following: c int *p; #pragma omp target enter data map(p[1:10]) The following maps can be emitted by clang: (A) &p[0], &p[1], 10 * sizeof(p[1]), TO | FROM &p, &p[1], sizeof(p), ATTACH Without this map-type, these two possible maps could be emitted by clang: (B) &p[0], &p[1], 10 * sizeof(p[1]), TO | FROM (C) &p, &p[1], 10 * sizeof(p[1]), TO | FROM | PTR_AND_OBJ (B) does not perform any pointer attachment, while (C) also maps the pointer p, which are both incorrect. In terms of implementation, maps with the ATTACH map-type are handled after all other maps have been processed, as it requires knowledge of which new allocations happened as part of the construct. As per OpenMP 5.0, an attachment should happen only when either the pointer or the pointee was newly mapped while handling the construct. Maps with ATTACH map-type-bit do not increase/decrease the ref-count. With OpenMP 6.1, attach(always/never) can be used to force/prevent attachment. For attach(always), the compiler will insert the ALWAYS map-type, which would let libomptarget bypass the check about one of the pointer/pointee being new. With attach(never), the ATTACH map will not be emitted at all. The size argument of the ATTACH map-type can specify values greater than sizeof(void*)` which can be used to support pointer attachment on Fortran descriptors. Note that this also requires shadow-pointer tracking to also support them. That has not been implemented in this patch. This was worked upon in coordination with Ravi Narayanaswamy, who has since retired. Happy retirement, Ravi! --------- Co-authored-by: Alex Duran <alejandro.duran@intel.com> | 11 个月前 | |
[Offload] Silence warning via maybe unused (NFC) (#163076) | 9 个月前 | |
[Offload] Update LIBOMPTARGET_INFO text for attach map-type. (#155509) Also adds two debug dumps regarding pointer-attachment. | 10 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 9 个月前 | ||
| 8 个月前 | ||
| 11 个月前 | ||
| 9 个月前 | ||
| 10 个月前 |