Skip to content

Commit

Permalink
Fix auto-tuner
Browse files Browse the repository at this point in the history
  • Loading branch information
aacostadiaz committed Jul 21, 2023
1 parent b0c3ca4 commit 9c7cd3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions tools/auto_tuner/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cmake_minimum_required(VERSION 3.7)
project(auto_tuner VERSION 0.1.0 LANGUAGES CXX)

set(SYCLBLAS_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/../../include)
set(SYCLBLAS_SRC ${CMAKE_CURRENT_SOURCE_DIR}/../../src)

Expand Down
10 changes: 3 additions & 7 deletions tools/auto_tuner/include/tuner_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,9 @@ template <typename DataType>
using DeviceContainer = typename ::blas::BufferIterator<DataType>;

template <typename DataType>
using MatrixContainer = typename ::blas::MatrixViewTypeFactory<
DataType,
typename ::blas::BufferIterator<DataType>::template default_accessor_t<
::blas::Choose<std::is_const<DataType>::value, cl::sycl::access::mode,
cl::sycl::access::mode::read,
cl::sycl::access::mode::read_write>::type>,
int, ::blas::col_major>::output_t;
using MatrixContainer =
typename ::blas::MatrixViewType< ::blas::BufferIterator<DataType>, int,
::blas::col_major>::type;

struct TestResultEntry {
std::string name;
Expand Down

0 comments on commit 9c7cd3c

Please sign in to comment.