FEAT-56803 - Fix ocltst slow issues

Fix very slow issues of two ocltst test cases.

Cherry pick
 https://gerrit-git.amd.com/c/compute/ec/clr/+/1009383

Change-Id: I0228c5e87cdec366993fd4afb1c25e7f8161c2c5
This commit is contained in:
taosang2
2024-02-21 18:14:23 -05:00
committed by Tao Sang
parent b385992f94
commit 4ec274c7d4
2 changed files with 10 additions and 1 deletions
@@ -30,8 +30,12 @@
static const size_t Iterations = 0x100;
static const size_t IterationDivider = 2;
static const size_t MaxBuffers = IterationDivider;
static const size_t BufSize = 0x800000;
#if EMU_ENV
static const size_t BufSize = 0x800;
#else
static const size_t BufSize = 0x800000;
#endif
const static char* strKernel =
"__kernel void factorial(__global uint* out) \n"
"{ \n"