mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Refactor logging of subgroup test start/pass messages (#1361)
Note that this also corrects the start messages logged for the sub_group_ballot_bit_count/find_msb/find_lsb tests. Signed-off-by: Stuart Brady <stuart.brady@arm.com>
This commit is contained in:
@@ -225,6 +225,12 @@ void run_insts(cl_int *x, cl_int *p, int n)
|
||||
|
||||
struct IFP
|
||||
{
|
||||
static void log_test(const WorkGroupParams &test_params,
|
||||
const char *extra_text)
|
||||
{
|
||||
log_info(" independent forward progress...%s\n", extra_text);
|
||||
}
|
||||
|
||||
static void gen(cl_int *x, cl_int *t, cl_int *,
|
||||
const WorkGroupParams &test_params)
|
||||
{
|
||||
@@ -258,8 +264,6 @@ struct IFP
|
||||
// We need at least 2 sub groups per group for this test
|
||||
if (nj == 1) return TEST_SKIPPED_ITSELF;
|
||||
|
||||
log_info(" independent forward progress...\n");
|
||||
|
||||
for (k = 0; k < ng; ++k)
|
||||
{
|
||||
run_insts(x, t, nj);
|
||||
|
||||
Reference in New Issue
Block a user