To enable the compiler to optimize parts of the function that are not needed when runtime can be omitted, a new version of the SPMD deinit kernel function is needed. This function takes the runtime required flag as an argument.
Details
Details
- Reviewers
ABataev kkwli0 caomhin - Commits
- rG31c1589ab00a: [OpenMP][libomptarget] Add new version of SPMD deinit kernel function with…
rL347714: [OpenMP][libomptarget] Add new version of SPMD deinit kernel function with…
rOMP347714: [OpenMP][libomptarget] Add new version of SPMD deinit kernel function with…
Diff Detail
Diff Detail
- Repository
- rOMP OpenMP
Event Timeline
libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.cu | ||
---|---|---|
188 | Could try to avoid copy-paste here? The original function may just call the new one with the isRuntimeInitialized() argument. |
Could try to avoid copy-paste here? The original function may just call the new one with the isRuntimeInitialized() argument.