diff options
author | Gil Pitney <gil.pitney@linaro.org> | 2015-07-20 21:47:11 +0000 |
---|---|---|
committer | Gil Pitney <gil.pitney@linaro.org> | 2015-07-20 21:47:11 +0000 |
commit | 9fc0fe02aad26e0f89e076a2020f9e18db26ff17 (patch) | |
tree | 1a6792d7721a78b902bae608b3dd05aa690ae363 | |
parent | effd93f7e9f906ef718316033eefbeb4e74f61d7 (diff) |
Update comment in clBuildProgram()
Include
% test_api binary_create
in the list of Khronos tests that violate the spec.
See comment in source code.
Signed-off-by: Gil Pitney <gil.pitney@linaro.org>
-rw-r--r-- | src/core/program.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/program.cpp b/src/core/program.cpp index 103a910..b44d948 100644 --- a/src/core/program.cpp +++ b/src/core/program.cpp @@ -647,8 +647,8 @@ cl_int Program::compile(const char *options, // Per the v1.2 spec for clBuildProgram() and clCompileProgram(): // "Returns: CL_INVALID_OPERATION if there are kernel objects attached to program." // Note this causes some Khronos tests to fail, like test_compiler options_build_macro, - // options_build_macro_existence, and options_include_directory, as they violate the - // spec in this regard. + // options_build_macro_existence, and options_include_directory, and + // test_api binary_create, as they all violate the spec in this regard. if (getNumKernels() > 0) { p_state = Failed; return(CL_INVALID_OPERATION); |