diff options
Diffstat (limited to 'src/cl_api.c')
-rw-r--r-- | src/cl_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_api.c b/src/cl_api.c index bb56cc53..3baf38ac 100644 --- a/src/cl_api.c +++ b/src/cl_api.c @@ -992,6 +992,7 @@ clCompileProgram(cl_program program , /* TODO support create program from binary */ assert(program->source_type == FROM_LLVM || program->source_type == FROM_SOURCE || + program->source_type == FROM_LLVM_SPIR || program->source_type == FROM_BINARY); if((err = cl_program_compile(program, num_input_headers, input_headers, header_include_names, options)) != CL_SUCCESS) { goto error; |