From 9c7cd3c3f132944eff916c37c76ef79693a47891 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Fri, 21 Jul 2023 11:55:50 +0100 Subject: [PATCH] Fix auto-tuner --- tools/auto_tuner/CMakeLists.txt | 2 ++ tools/auto_tuner/include/tuner_types.hpp | 10 +++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/tools/auto_tuner/CMakeLists.txt b/tools/auto_tuner/CMakeLists.txt index a3e895ae5..bbf1c1d1e 100644 --- a/tools/auto_tuner/CMakeLists.txt +++ b/tools/auto_tuner/CMakeLists.txt @@ -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) diff --git a/tools/auto_tuner/include/tuner_types.hpp b/tools/auto_tuner/include/tuner_types.hpp index 0b987324f..d9aee2bc8 100644 --- a/tools/auto_tuner/include/tuner_types.hpp +++ b/tools/auto_tuner/include/tuner_types.hpp @@ -40,13 +40,9 @@ template using DeviceContainer = typename ::blas::BufferIterator; template -using MatrixContainer = typename ::blas::MatrixViewTypeFactory< - DataType, - typename ::blas::BufferIterator::template default_accessor_t< - ::blas::Choose::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, int, + ::blas::col_major>::type; struct TestResultEntry { std::string name;