diff --git a/projects/clr/opencl/tests/ocltst/module/runtime/OCLMultiQueue.cpp b/projects/clr/opencl/tests/ocltst/module/runtime/OCLMultiQueue.cpp index 9f1cd1d5b1..0469ee20b8 100644 --- a/projects/clr/opencl/tests/ocltst/module/runtime/OCLMultiQueue.cpp +++ b/projects/clr/opencl/tests/ocltst/module/runtime/OCLMultiQueue.cpp @@ -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; diff --git a/projects/clr/opencl/tests/ocltst/module/runtime/OCLRTQueue.cpp b/projects/clr/opencl/tests/ocltst/module/runtime/OCLRTQueue.cpp index 538db830cb..fbe2e62f13 100644 --- a/projects/clr/opencl/tests/ocltst/module/runtime/OCLRTQueue.cpp +++ b/projects/clr/opencl/tests/ocltst/module/runtime/OCLRTQueue.cpp @@ -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"