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]
Este commit está contenido en:
taosang2
2024-02-21 18:14:23 -05:00
cometido por Tao Sang
padre 837f7ca08c
commit af99b5d52d
Se han modificado 2 ficheros con 10 adiciones y 1 borrados
@@ -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;
@@ -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"