mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-23 23:49:02 +00:00
spirv_new: print build log in get_program_with_il (#2274)
Print the build log when building the program in `get_program_with_il` fails, to make it easier to investigate spirv_new test failures. Factor out a global helper function `OutputBuildLog` for printing the build log for a single device. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
ea934a7648
commit
46dcf18a18
@@ -198,6 +198,7 @@ extern const char *GetQueuePropertyName(cl_command_queue_properties properties);
|
||||
|
||||
extern const char *GetDeviceTypeName(cl_device_type type);
|
||||
bool check_functions_for_offline_compiler(const char *subtestname);
|
||||
cl_int OutputBuildLog(cl_program program, const cl_device_id device);
|
||||
cl_int OutputBuildLogs(cl_program program, cl_uint num_devices,
|
||||
cl_device_id *device_list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user