From 955600effe072e4b1f3d4564c37e0abe03fcd446 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 30 Sep 2015 00:26:52 -0400 Subject: [PATCH] P4 to Git Change 1195643 by lnguyen@P4_LN on 2015/09/29 16:07:33 SWDEV-5 - Updated power strip table. Affected files ... ... //depot/stg/opencl/drivers/opencl/tools/teamcity/server/scripts/teamcity.xml#49 edit --- opencl/api/opencl/amdocl/cl_program.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl/api/opencl/amdocl/cl_program.cpp b/opencl/api/opencl/amdocl/cl_program.cpp index 0f3f2890d8..aaf0726329 100644 --- a/opencl/api/opencl/amdocl/cl_program.cpp +++ b/opencl/api/opencl/amdocl/cl_program.cpp @@ -220,7 +220,7 @@ RUNTIME_ENTRY_RET(cl_program, clCreateProgramWithILKHR, ( const std::vector& devices = as_amd(context)->devices(); std::vector::const_iterator it; for (it = devices.begin(); it != devices.end(); ++it) { - if (program->addDeviceProgram(**it, il, length, true) == + if (program->addDeviceProgram(**it, il, length, 200) == CL_OUT_OF_HOST_MEMORY) { *not_null(errcode_ret) = CL_OUT_OF_HOST_MEMORY; program->release();