MMatt ArsenaultOpenMP: Fix broken c++ mode comment
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
OpenMP: Don't include stdbool.h in builtin headers Pre-C99 didn't include bool, and C99 allows you to redefine true/false apparently. | 2 年前 | |
OpenMP: Fix broken c++ mode comment | 2 年前 | |
[AMDGPU][OpenMP] Use complex definitions from complex_cmath.h Following nvptx approach, this patch uses complex function definitions from complex_cmath.h. With this patch, ovo passes 23/34 complex mathematical test cases. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D109344 | 4 年前 | |
[OpenMP][AMDGCN] Enable complex functions This patch enables basic complex functionality using the ocml builtins. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D108552 | 4 年前 | |
[OpenMP] Support std::complex math functions in target regions The last (big) missing piece to get "math" working in OpenMP target regions (that I know of) was complex math functions, e.g., std::sin(std::complex<double>). With this patch we overload the system template functions for these operations with versions that have been distilled from libcxx/include/complex. We use the same omp begin/end declare variant mechanism we use for other math functions before, except that we this time overload templates (via D85735). Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D85777 | 5 年前 | |
[OpenMP][AMDGCN] Initial math headers support With this patch, OpenMP on AMDGCN will use the math functions provided by ROCm ocml library. Linking device code to the ocml will be done in the next patch. Reviewed By: JonChesterfield, jdoerfert, scchan Differential Revision: https://reviews.llvm.org/D104904 | 4 年前 | |
OpenMP: Fix nothrow new/delete for amdgpu I tried #pragma omp begin declare variant device_type(nohost) but it didn't work and I'm not really sure how it's supposed to work. | 2 年前 | |
Fix abs labs and llabs to work in C code. | 3 年前 | |
[OpenMP] Provide math functions in OpenMP device code via OpenMP variants For OpenMP target regions to piggy back on the CUDA/AMDGPU/... implementation of math functions, we include the appropriate definitions inside of an omp begin/end declare variant match(device={arch(nvptx)}) scope. This way, the vendor specific math functions will become specialized versions of the system math functions. When a system math function is called and specialized version is available the selection logic introduced in D75779 instead call the specialized version. In contrast to the code path we used so far, the system header is actually included. This means functions without specialized versions are available and so are macro definitions. This should address PR42061, PR42798, and PR42799. Reviewed By: ye-luo Differential Revision: https://reviews.llvm.org/D75788 | 6 年前 |