Commit 01d94193 authored by Serge Martin's avatar Serge Martin Committed by Francisco Jerez
Browse files

clover: Don't return CL_INVALID_VALUE if there is no header.


Reviewed-by: Francisco Jerez's avatarFrancisco Jerez <currojerez@riseup.net>
parent aa93af80
......@@ -197,7 +197,7 @@ clCompileProgram(cl_program d_prog, cl_uint num_devs,
name, header.source()));
},
range(header_names, num_headers),
objs(d_header_progs, num_headers));
objs<allow_empty_tag>(d_header_progs, num_headers));
prog.build(devs, opts, headers);
return CL_SUCCESS;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment