Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL][COMPLEX] Split complex header file and tests into multiple fil…
…es (#11600) This PR is the first step toward restructuring the `complex` API. As discussed in #8647 and #10854, the goal here is to clean the future-to-be `complex` API. To simplify the review of these changes, a new PR (this PR) is created to not overload #8647. IF/WHEN this will be approved, the second step which does the same for the `marray`'s complex specialization will be pushed onto #8647 Here's an overview of what has changed: For the users, the only change is the include. Instead of including `<sycl/ext/oneapi/experimental/sycl_complex.hpp>`, it will now be `<sycl/ext/oneapi/experimental/complex/complex.hpp>` The `complex.hpp` header files include all the `complex/detail` header file (the `complex` API), in order to abstract the headers needed for the users. However, the users can include (if necessary) the specific component of the API located in `complex/detail`. Here's the overview of what the complex directory will contain when the whole API is merged. ``` - complex - complex.hpp - detail - complex.hpp - complex_math.hpp - complex_group_algorithm.hpp - marray.hpp - marray_math.hpp - marray_group_algorithm.hpp - common.hpp ``` Finally, here's the overview of the `sycl/test/extension` ``` - complex - complex.cpp - marray.cpp ```
- Loading branch information