From d27ab47ed9a3b16adb1a7781ff2d9dc96cae9b71 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 17 Jul 2023 18:32:18 -0400 Subject: [PATCH] for clarity --- lib/gpu/lal_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gpu/lal_device.cpp b/lib/gpu/lal_device.cpp index cbf3f5f885..57c4b96b39 100644 --- a/lib/gpu/lal_device.cpp +++ b/lib/gpu/lal_device.cpp @@ -29,7 +29,7 @@ const char *ocl_prefetch_test = " #if (NBOR_PREFETCH == 1) \n"\ " inline void ucl_prefetch(const __global int *p) { prefetch(p, 1); } \n"\ -" #else \n"\ +" #elif (NBOR_PREFETCH == 2) \n"\ " enum LSC_LDCC {LSC_LDCC_DEFAULT, LSC_LDCC_L1UC_L3UC, LSC_LDCC_L1UC_L3C, \n"\ " LSC_LDCC_L1C_L3UC, LSC_LDCC_L1C_L3C, LSC_LDCC_L1S_L3UC, \n"\ " LSC_LDCC_L1S_L3C, LSC_LDCC_L1IAR_L3C, }; \n"\