Skip to content

Commit

Permalink
remove unecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalint98 committed Aug 15, 2021
1 parent 67916e0 commit b0c8511
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/oneapi/mkl/blas/detail/cublas/blas_ct.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ void gemm(backend_selector<backend::cublas> selector, transpose transa, transpos
gemm_postcondition(selector.get_queue(), transa, transb, m, n, k, alpha, a, lda, b, ldb, beta,
c, ldc);
}

void syr2(backend_selector<backend::cublas> selector, uplo upper_lower, std::int64_t n, float alpha,
cl::sycl::buffer<float, 1> &x, std::int64_t incx, cl::sycl::buffer<float, 1> &y,
std::int64_t incy, cl::sycl::buffer<float, 1> &a, std::int64_t lda) {
Expand Down
2 changes: 2 additions & 0 deletions include/oneapi/mkl/blas/predicates.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -1557,6 +1557,7 @@ inline void gemm_postcondition(cl::sycl::queue &queue, transpose transa, transpo
/* add postchecks to queue here for input args. */
#endif
}

inline void syr2_precondition(cl::sycl::queue &queue, uplo upper_lower, std::int64_t n, float alpha,
cl::sycl::buffer<float, 1> &x, std::int64_t incx,
cl::sycl::buffer<float, 1> &y, std::int64_t incy,
Expand Down Expand Up @@ -4748,6 +4749,7 @@ inline void gemm_postcondition(cl::sycl::queue &queue, transpose transa, transpo
/* add postchecks to queue here for input args. */
#endif
}

inline void gemm_precondition(cl::sycl::queue &queue, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, half alpha,
const half *a, std::int64_t lda, const half *b, std::int64_t ldb,
Expand Down
1 change: 1 addition & 0 deletions src/blas/blas_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3495,6 +3495,7 @@ void gemm(oneapi::mkl::device libkey, cl::sycl::queue &queue, transpose transa,
function_tables[libkey].row_major_zgemm_sycl(queue, transa, transb, m, n, k, alpha, a, lda, b,
ldb, beta, c, ldc);
}

void gemm(oneapi::mkl::device libkey, cl::sycl::queue &queue, transpose transa, transpose transb,
std::int64_t m, std::int64_t n, std::int64_t k, half alpha, cl::sycl::buffer<half, 1> &a,
std::int64_t lda, cl::sycl::buffer<half, 1> &b, std::int64_t ldb, half beta,
Expand Down
1 change: 1 addition & 0 deletions tests/unit_tests/blas/include/reference_blas_templates.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ template <typename fpa, typename fpc>
static void gemm(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE transa, CBLAS_TRANSPOSE transb, const int *m,
const int *n, const int *k, const fpc *alpha, const fpa *a, const int *lda,
const fpa *b, const int *ldb, const fpc *beta, fpc *c, const int *ldc);

template <>
void gemm(CBLAS_LAYOUT layout, CBLAS_TRANSPOSE transa, CBLAS_TRANSPOSE transb, const int *m,
const int *n, const int *k, const float *alpha, const half *a, const int *lda,
Expand Down

0 comments on commit b0c8511

Please sign in to comment.