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


[ROCm/clr commit: 4ec274c7d4]
Tento commit je obsažen v:
taosang2
2024-02-21 18:14:23 -05:00
odevzdal Tao Sang
rodič 837f7ca08c
revize af99b5d52d
2 změnil soubory, kde provedl 10 přidání a 1 odebrání
+5
Zobrazit soubor
@@ -42,7 +42,12 @@ static bool useGPU = true;
static const cl_uint NumQueues = 8; // must be power of 2
static cl_uint NumElements = 4096;
#if EMU_ENV
static const cl_uint NumRuns = 16;
#else
static const cl_uint NumRuns = 16384;
#endif
static const cl_uint ExecutionsPerQueue = 256;
std::stringstream lerror;
+5 -1
Zobrazit soubor
@@ -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"