diff options
author | Gil Pitney <gil.pitney@linaro.org> | 2015-07-27 23:58:35 +0000 |
---|---|---|
committer | Gil Pitney <gil.pitney@linaro.org> | 2015-07-27 23:58:35 +0000 |
commit | c9619d1d796e958d2b6f129db488926b7e270d01 (patch) | |
tree | 46fb06a6ec88901b9184d1d14c2ab737e8b6fa62 /src/core/icd.cpp | |
parent | c6da796916767b984700a1e5ed3927b3fe99fd7c (diff) |
Update clGetDeviceInfo() for MAX_CONSTANT_ARGS and BUFFER_SIZE
Previously, the values of:
CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE and CL_DEVICE_MAX_CONSTANT_ARGS
were so large as to cause the Khronos tests to run out of memory and
crash LLVM with an assertion.
Now, these values have been reduced to the minimum allowed by the spec.
This enables the Khronos test:
%test_api min_max_constant_args
to PASS reliably.
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
Diffstat (limited to 'src/core/icd.cpp')
0 files changed, 0 insertions, 0 deletions