From 904cbe2a8fe1caca4635b2c12b818b93fa9edc5d Mon Sep 17 00:00:00 2001 From: Anthony Chang Date: Fri, 11 Feb 2022 13:52:19 +0800 Subject: [PATCH] fix build breaks (#81) - device_gemm_xdl_c_shuffle function signature matches split-k - retire host_driver since it is no longer maintained - linter error (unused variable) Co-authored-by: Chao Liu --- device_operation/include/device_gemm_xdl.hpp | 2 +- device_operation/include/device_gemm_xdl_c_shuffle.hpp | 2 +- .../include/device_gemm_xdl_c_shuffle_bias_activation.hpp | 2 +- .../include/device_gemm_xdl_c_shuffle_bias_activation_add.hpp | 2 +- host/CMakeLists.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/device_operation/include/device_gemm_xdl.hpp b/device_operation/include/device_gemm_xdl.hpp index 927084815b..a9bfcc1b83 100644 --- a/device_operation/include/device_gemm_xdl.hpp +++ b/device_operation/include/device_gemm_xdl.hpp @@ -409,7 +409,7 @@ struct DeviceGemmXdl AElementwiseOperation a_element_op, BElementwiseOperation b_element_op, CElementwiseOperation c_element_op, - ck::index_t) override + index_t /* KBatch */ = 1) override { return std::make_unique(static_cast(p_a), static_cast(p_b), diff --git a/device_operation/include/device_gemm_xdl_c_shuffle.hpp b/device_operation/include/device_gemm_xdl_c_shuffle.hpp index 6127e6e6fe..76f1b3e44e 100644 --- a/device_operation/include/device_gemm_xdl_c_shuffle.hpp +++ b/device_operation/include/device_gemm_xdl_c_shuffle.hpp @@ -425,7 +425,7 @@ struct DeviceGemmXdl_C_Shuffle AElementwiseOperation a_element_op, BElementwiseOperation b_element_op, CElementwiseOperation c_element_op, - ck::index_t KBatch = 1) override + index_t /* KBatch */ = 1) override { return std::make_unique(static_cast(p_a), static_cast(p_b), diff --git a/device_operation/include/device_gemm_xdl_c_shuffle_bias_activation.hpp b/device_operation/include/device_gemm_xdl_c_shuffle_bias_activation.hpp index 47d16546ae..82dcb5b5c2 100644 --- a/device_operation/include/device_gemm_xdl_c_shuffle_bias_activation.hpp +++ b/device_operation/include/device_gemm_xdl_c_shuffle_bias_activation.hpp @@ -465,7 +465,7 @@ struct DeviceGemmXdl_C_Shuffle_Bias_Activation AElementwiseOperation a_element_op, BElementwiseOperation b_element_op, CElementwiseOperation c_element_op, - index_t KBatch = 1) override + index_t /* KBatch */ = 1) override { return std::make_unique(static_cast(p_a), static_cast(p_b), diff --git a/device_operation/include/device_gemm_xdl_c_shuffle_bias_activation_add.hpp b/device_operation/include/device_gemm_xdl_c_shuffle_bias_activation_add.hpp index b0e2f61a11..f5113613e5 100644 --- a/device_operation/include/device_gemm_xdl_c_shuffle_bias_activation_add.hpp +++ b/device_operation/include/device_gemm_xdl_c_shuffle_bias_activation_add.hpp @@ -523,7 +523,7 @@ struct DeviceGemmXdl_C_Shuffle_Bias_Activation_Add AElementwiseOperation a_element_op, BElementwiseOperation b_element_op, CElementwiseOperation c_element_op, - index_t KBatch = 1) override + index_t /* KBatch */ = 1) override { return std::make_unique(static_cast(p_a), static_cast(p_b), diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 30cc14d8ca..1570fe2a5e 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -1,2 +1,2 @@ add_subdirectory(host_tensor) -add_subdirectory(driver_offline) +# add_subdirectory(driver_offline) # deprecated