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

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OuadiElfarouki committed Sep 11, 2023
1 parent d5c7d22 commit 2f7f877
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 1 addition & 5 deletions cmake/CmakeFunctionHelper.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,7 @@ elseif(${TUNING_TARGET} STREQUAL "POWER_VR" AND NOT IMGDNN_DIR)
"float"
"half"
)
set(data_list_c ${supported_types})
if(BLAS_ENABLE_COMPLEX)
set_complex_list(data_list_c "${supported_types}" "false")
endif()
foreach(data ${data_list_c})
foreach(data ${supported_types})
add_gemm_configuration(
"${data}" 96 "true" "false" "false"
16 4 6 12 8 1 1 1 1 1 1 1 1 1 float float "local" "standard" "full" 1 "strided" "false")
Expand Down
7 changes: 4 additions & 3 deletions src/operations/blas3/gemm_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ template <typename T>
static PORTBLAS_INLINE T
mul_add(T a, T b, T c,
typename std::enable_if<!is_complex_sycl<T>::value>::type * = 0) {
return (sycl::mad(a, b, c));
return (cl::sycl::mad(a, b, c));
}
#else

template <typename T>
static PORTBLAS_INLINE T mul_add(T a, T b, T c) {
return (sycl::mad(a, b, c));
return (cl::sycl::mad(a, b, c));
}
#endif

Expand Down Expand Up @@ -84,7 +84,8 @@ template <int ItemRows, int ItemCols, int WgRows, int WgCols, int SgRows,
int jm_M, int jm_N, int jm_K, typename inp_jmT, typename out_jmT>
PORTBLAS_INLINE std::string
Tile<ItemRows, ItemCols, WgRows, WgCols, SgRows, SgCols, TlRows, TlCols,
ItemBatchs, WgBatchs, jm_M, jm_N, jm_K, inp_jmT, out_jmT>::get_type_string() noexcept {
ItemBatchs, WgBatchs, jm_M, jm_N, jm_K, inp_jmT,
out_jmT>::get_type_string() noexcept {
std::ostringstream str{};
str << "Tile<" << item_rows << ", " << item_cols << ", " << wg_rows << ", "
<< wg_cols << ", " << sg_rows << ", " << sg_cols << ", " << tl_rows
Expand Down

0 comments on commit 2f7f877

Please sign in to comment.