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
Bu işleme şunda yer alıyor:
taosang2
2024-02-21 18:14:23 -05:00
işlemeyi yapan: Tao Sang
ebeveyn b385992f94
işleme 4ec274c7d4
2 değiştirilmiş dosya ile 10 ekleme ve 1 silme
+5
Dosyayı Görüntüle
@@ -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
Dosyayı Görüntüle
@@ -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"