Fix compilation errors with latest clang22 version. (#3396)

* remove target attributes from deduction guides

* switch CK_TILE_HOST_DEVICE_EXTERN based on clang version
This commit is contained in:
Illia Silin
2025-12-11 08:09:29 -08:00
committed by GitHub
parent 715671e419
commit b2925ee207
3 changed files with 12 additions and 16 deletions

View File

@@ -47,9 +47,8 @@ struct composes<F>
F f_;
};
/// FIXME: create macro to replace '__host__ __device__' and nothing more
template <typename... Ts>
__host__ __device__ composes(Ts&&...) -> composes<remove_cvref_t<Ts>...>;
CK_TILE_HOST_DEVICE_EXTERN composes(Ts&&...) -> composes<remove_cvref_t<Ts>...>;
template <typename SaturateType>
struct saturates