mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
update the switch condition for buffer built-ins (#2602)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "ck/utility/common_header.hpp"
|
||||
#include "ck/tensor_description/tensor_descriptor.hpp"
|
||||
#include "ck/tensor_description/tensor_descriptor_helper.hpp"
|
||||
#if __clang_major__ == 20
|
||||
#if __clang_major__ >= 20
|
||||
#include "ck/tensor_operation/gpu/grid/gridwise_sparse_embeddings_forward_layernorm_builtins.hpp"
|
||||
#else
|
||||
#include "ck/tensor_operation/gpu/grid/gridwise_sparse_embeddings_forward_layernorm.hpp"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "ck/utility/thread_group.hpp"
|
||||
#include "ck/utility/debug.hpp"
|
||||
|
||||
#if __clang_major__ == 20
|
||||
#if __clang_major__ >= 20
|
||||
#include "amd_buffer_addressing_builtins.hpp"
|
||||
#else
|
||||
#include "amd_buffer_addressing.hpp"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "ck/utility/data_type.hpp"
|
||||
#include "enable_if.hpp"
|
||||
#include "c_style_pointer_cast.hpp"
|
||||
#if __clang_major__ == 20
|
||||
#if __clang_major__ >= 20
|
||||
#include "amd_buffer_addressing_builtins.hpp"
|
||||
#else
|
||||
#include "amd_buffer_addressing.hpp"
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef CK_TILE_USE_BUFFER_ADDRESSING_BUILTIN
|
||||
#if __clang_major__ == 20
|
||||
#if __clang_major__ >= 20
|
||||
#define CK_TILE_USE_BUFFER_ADDRESSING_BUILTIN 1
|
||||
#else
|
||||
#define CK_TILE_USE_BUFFER_ADDRESSING_BUILTIN 0
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "ck_tile/core/config.hpp"
|
||||
#include "ck_tile/core/arch/arch.hpp"
|
||||
#if __clang_major__ == 20
|
||||
#if __clang_major__ >= 20
|
||||
#include "ck_tile/core/arch/amd_buffer_addressing_builtins.hpp"
|
||||
#else
|
||||
#include "ck_tile/core/arch/amd_buffer_addressing.hpp"
|
||||
|
||||
Reference in New Issue
Block a user