From 85299db5a4dfdea55d1528295e814e9745aae9af Mon Sep 17 00:00:00 2001 From: Luc Berger-Vergiat Date: Wed, 13 Mar 2024 08:58:07 -0600 Subject: [PATCH] Kokkos Kernels: change the default offset ETI from size_t to int This change makes it easier for customer to leverage TPL support which almost always requires offset=int, ordinal=int to be enabled meaning that no TPL support is available with our default ETI... --- cmake/kokkoskernels_eti_offsets.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/kokkoskernels_eti_offsets.cmake b/cmake/kokkoskernels_eti_offsets.cmake index 484175a976..1cf02f1327 100644 --- a/cmake/kokkoskernels_eti_offsets.cmake +++ b/cmake/kokkoskernels_eti_offsets.cmake @@ -1,5 +1,5 @@ -SET(KOKKOSKERNELS_INST_OFFSET_SIZE_T_DEFAULT ${KOKKOSKERNELS_ADD_DEFAULT_ETI}) -SET(KOKKOSKERNELS_INST_OFFSET_INT_DEFAULT OFF) +SET(KOKKOSKERNELS_INST_OFFSET_SIZE_T_DEFAULT OFF) +SET(KOKKOSKERNELS_INST_OFFSET_INT_DEFAULT ${KOKKOSKERNELS_ADD_DEFAULT_ETI}) SET(OFFSETS OFFSET_INT OFFSET_SIZE_T