From 74cc26c02871d092a26775c6a98b94b192dc8750 Mon Sep 17 00:00:00 2001 From: N Rana Pratap Reddy Date: Tue, 8 Oct 2024 10:48:13 +0530 Subject: [PATCH] Removed commented code --- src/device/non_caching_load.h | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/src/device/non_caching_load.h b/src/device/non_caching_load.h index 0b42d91da..184452e0d 100644 --- a/src/device/non_caching_load.h +++ b/src/device/non_caching_load.h @@ -73,37 +73,5 @@ __host__ __device__ T __non_caching_load(const T* p) #undef LD } -// template -// inline -// __attribute__((always_inline)) -// __host__ __device__ void __non_caching_load_128b(const T0 ret, const T1* p0) -// { -// #if !defined(__GFX11__) && !defined(GFX12) -// #define LD5 "global_load_dwordx4" -// #if defined(__gfx940__) || defined(__gfx941__) || defined(__gfx942__) -// #define BITS "sc0 sc1 nt" -// #elif defined(__GFX9__) || defined(__gfx1010__) || defined(__gfx1011__) || defined(__gfx1012__) || defined(__gfx1013__) -// #define BITS "glc slc" -// #else -// #define BITS "glc slc dlc" -// #endif -// #define WAIT ((0 << 14) | (0x3f << 8) | (0x7) << 4) -// #else -// #define LD5 "global_load_b128" -// #define BITS "glc slc dlc" -// #define WAIT ((0 << 10) | (0x3f << 4) | 0x7) -// #endif -// #define LOAD5 LD5 " %0 %1 off " BITS - -// asm volatile(LOAD5 : "=v"(ret) : "v"(p0)); -// __builtin_amdgcn_s_waitcnt(WAIT); - -// return; - -// #undef LOAD5 -// #undef WAIT -// #undef BITS -// #undef LD5 -// } - #endif +