Commit ca34cad
[BLAS,RNG,LAPACK] Add examples with CMake (#188)
* [blas] add source files for gemm example
* [blas] separate helper functions into .hpp
* [blas] add device description in header comment
* [blas] update source file name to match public backend name
* [blas] update file names
* [blas] change banner to apache, and move source files into RT/CT folders in domain
* [blas] add source files for gemm example
* [blas] separate helper functions into .hpp
* [blas] add device description in header comment
* [blas] update source file name to match public backend name
* [blas] update file names
* [blas] change banner to apache, and move source files into RT/CT folders in domain
* move examples common helper file under examples/
* [header] update helper header path in src
* update cmakelists for CT and levels up
* RT gemm update include header name
* test change1 cmake
* [blas][rng] fixed examples, tested on lnx
* Added lapack examples and other small fixes
* Create draft examples README.md (not for users)
* Update examples/README.md for better format
* remove detecting L0/openCL for intel backends
* add ctest and set SYCL_DEVICE_FILTER for examples testing
* small fixes with ctest
* Update examples README for users
* Update building_the_project.rst
* add_test for each SYCL_DEVICE_FILTER and align example test name
* fix typo
* improve format of output
* Update examples README output format
* Delete common_helper_functions.hpp
* fix cmake message
* Update examples/blas/CMakeLists.txt
Co-authored-by: Andrew T. Barker <andrew1.barker@intel.com>
* Update examples/blas/compile_time_dispatching/CMakeLists.txt
Co-authored-by: Andrew T. Barker <andrew1.barker@intel.com>
* [blas] remove standalone CT for every backend and add mklcpu+cuda, use malloc_device
* [rng] remove standalone CT for every backend and add mklcpu+cuda, use malloc_device
* [blas][include] improve style
* [lapack] remove standalone CT and add mklcpu+cuda, use malloc_device, and clean up
* small fix in output message
* Update README.md
* style fix
* [all] change calloc to std::vector
* [all] wait_and_throw on events and reverse sycl::free order
* [all] clang-format cpp and hpp files
* set build_examples to true as default, correct year in liscence
* remove not needed files
* remove unnecessary headers
* improve headers
* add comments about CT examples need CUDA backends
* Update README.md
* print matrices instead of check for correctness
* add note about float precision limit in README
* update CMake to work on AMD
* remove extra if
* clean up(improve wording, remove -DNOMINMAX)
* clean up with wording
Co-authored-by: Andrew T. Barker <andrew1.barker@intel.com>1 parent c17a95c commit ca34cad
File tree
22 files changed
+2474
-1
lines changed- docs
- examples
- blas
- compile_time_dispatching
- level3
- run_time_dispatching
- level3
- include
- lapack
- compile_time_dispatching
- run_time_dispatching
- rng
- compile_time_dispatching
- run_time_dispatching
22 files changed
+2474
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
214 | | - | |
| 217 | + | |
215 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
216 | 222 | | |
217 | 223 | | |
218 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
219 | 230 | | |
220 | 231 | | |
221 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
241 | 247 | | |
242 | 248 | | |
243 | 249 | | |
| |||
447 | 453 | | |
448 | 454 | | |
449 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
450 | 460 | | |
451 | 461 | | |
452 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments