Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Rename "default_cpu" to "default"
Browse files Browse the repository at this point in the history
The default target is not compatible only with CPU, so renaming files
and references from "default_cpu" to "default"
  • Loading branch information
s-Nick committed May 3, 2024
1 parent 440af7e commit d7611e9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions doc/Gemm.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ This cmake variable causes a corresponding define for the selected platform to b
#elif defined POWER_VR
#include "interface/blas3/backend/power_vr.hpp"
#else
#include "interface/blas3/backend/default_cpu.hpp"
#include "interface/blas3/backend/default.hpp"
#endif
```

Expand Down Expand Up @@ -307,7 +307,7 @@ The relevant parameters are:
- Vector size, the number of elements to use in vectorized loads/stores.
- Batch type, whether to use strided (most `GEMM` kernels) or the interleaved `GEMM` for batched calls.

For an example of a backend target header and some of the ways that configurations are selected let's look at `src/interface/blas3/backend/default_cpu.hpp` :
For an example of a backend target header and some of the ways that configurations are selected let's look at `src/interface/blas3/backend/default.hpp` :

```c++
template <bool _t_a, bool _t_b, bool is_beta_zero, typename sb_handle_t,
Expand Down
2 changes: 1 addition & 1 deletion src/interface/blas1/backend/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
#elif NVIDIA_GPU
#include "interface/blas1/backend/nvidia_gpu.hpp"
#else
#include "interface/blas1/backend/default_cpu.hpp"
#include "interface/blas1/backend/default.hpp"
#endif

2 changes: 1 addition & 1 deletion src/interface/blas2/backend/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
#elif NVIDIA_GPU
#include "interface/blas2/backend/nvidia_gpu.hpp"
#else
#include "interface/blas2/backend/default_cpu.hpp"
#include "interface/blas2/backend/default.hpp"
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* portBLAS: BLAS implementation using SYCL
*
* @filename default_cpu.hpp
* @filename default.hpp
*
**************************************************************************/
#ifndef PORTBLAS_GEMV_DEFAULT_BACKEND_HPP
Expand Down
2 changes: 1 addition & 1 deletion src/interface/blas3/backend/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
#elif defined NVIDIA_GPU
#include "interface/blas3/backend/nvidia_gpu.hpp"
#else
#include "interface/blas3/backend/default_cpu.hpp"
#include "interface/blas3/backend/default.hpp"
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* portBLAS: BLAS implementation using SYCL
*
* @filename default_cpu.hpp
* @filename default.hpp
*
**************************************************************************/
#ifndef PORTBLAS_GEMM_DEFAULT_BACKEND_HPP
Expand Down
2 changes: 1 addition & 1 deletion src/interface/extension/backend/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
#elif defined NVIDIA_GPU
#include "interface/extension/backend/nvidia_gpu.hpp"
#else
#include "interface/extension/backend/default_cpu.hpp"
#include "interface/extension/backend/default.hpp"
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* portBLAS: BLAS implementation using SYCL
*
* @filename default_cpu.hpp
* @filename default.hpp
*
**************************************************************************/
#ifndef PORTBLAS_TRANSPOSE_DEFAULT_BACKEND_HPP
Expand Down

0 comments on commit d7611e9

Please sign in to comment.