Skip to content

Commit

Permalink
Renaming from sycl-BLAS to portBLAS
Browse files Browse the repository at this point in the history
  • Loading branch information
s-Nick committed Sep 8, 2023
1 parent a5d9664 commit 71699f3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions include/operations/extension/matcopy_batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
**************************************************************************/

#ifndef SYCL_BLAS_EXTENSION_MATCOPY_BATCH_H
#define SYCL_BLAS_EXTENSION_MATCOPY_BATCH_H
#ifndef PORTBLAS_EXTENSION_MATCOPY_BATCH_H
#define PORTBLAS_EXTENSION_MATCOPY_BATCH_H

namespace blas {

Expand Down Expand Up @@ -69,4 +69,4 @@ Matcopy_batch<TileSize, TilePerWG, lhs_t, rhs_t> make_matcopy_batch(

} // namespace blas

#endif // SYCL_BLAS_EXTENSION_MATCOPY_BATCH_H
#endif // PORTBLAS_EXTENSION_MATCOPY_BATCH_H
2 changes: 1 addition & 1 deletion src/interface/extension/matcopy_batch.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "interface/extension_interface.hpp"
#include "sb_handle/kernel_constructor.hpp"
#include "sb_handle/sycl_blas_handle.hpp"
#include "sb_handle/portblas_handle.hpp"
#include "operations/extension/matcopy_batch.hpp"
#include "operations/extension/transpose.hpp"

Expand Down
14 changes: 7 additions & 7 deletions src/operations/extension/matcopy_batch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
*
**************************************************************************/

#ifndef SYCL_BLAS_EXTENSION_MATCOPY_BATCH_HPP
#define SYCL_BLAS_EXTENSION_MATCOPY_BATCH_HPP
#ifndef PORTBLAS_EXTENSION_MATCOPY_BATCH_HPP
#define PORTBLAS_EXTENSION_MATCOPY_BATCH_HPP

#include "operations/extension/matcopy_batch.h"

Expand Down Expand Up @@ -139,33 +139,33 @@ typename lhs_t::value_t Matcopy_batch<TileSize, TilePerWG, lhs_t, rhs_t>::eval(
}

template <int TileSize, int TilePerWG, typename lhs_t, typename rhs_t>
SYCL_BLAS_INLINE void Matcopy_batch<TileSize, TilePerWG, lhs_t, rhs_t>::bind(
PORTBLAS_INLINE void Matcopy_batch<TileSize, TilePerWG, lhs_t, rhs_t>::bind(
cl::sycl::handler& h) {
lhs_.bind(h);
rhs_1_.bind(h);
rhs_2_.bind(h);
}

template <int TileSize, int TilePerWG, typename lhs_t, typename rhs_t>
SYCL_BLAS_INLINE void
PORTBLAS_INLINE void
Matcopy_batch<TileSize, TilePerWG, lhs_t, rhs_t>::adjust_access_displacement() {
lhs_.adjust_access_displacement();
rhs_1_.adjust_access_displacement();
rhs_2_.adjust_access_displacement();
}

template <int TileSize, int TilePerWG, typename lhs_t, typename rhs_t>
SYCL_BLAS_INLINE typename rhs_t::index_t
PORTBLAS_INLINE typename rhs_t::index_t
Matcopy_batch<TileSize, TilePerWG, lhs_t, rhs_t>::get_size() const {
return m_ * n_ * batch_size_;
}

template <int TileSize, int TilePerWG, typename lhs_t, typename rhs_t>
SYCL_BLAS_INLINE bool
PORTBLAS_INLINE bool
Matcopy_batch<TileSize, TilePerWG, lhs_t, rhs_t>::valid_thread(
cl::sycl::nd_item<1> ndItem) const {
return true;
}
} // namespace blas

#endif // SYCL_BLAS_EXTENSION_MATCOPY_BATCH_HPP
#endif // PORTBLAS_EXTENSION_MATCOPY_BATCH_HPP

0 comments on commit 71699f3

Please sign in to comment.