File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
sycl/source/detail/scheduler Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -fsycl-is-device -triple spir64-unknown-unknown -fsycl-int-header=%t.h %s -fsyntax-only
2
2
// RUN: FileCheck -input-file=%t.h %s
3
- // This testv validates that we don't generate an empty 'kernel_signatures' in
3
+ // This test validates that we don't generate an empty 'kernel_signatures' in
4
4
// the case where there are no kernel fields. This is to avoid a warning in the
5
5
// integration header.
6
6
Original file line number Diff line number Diff line change @@ -1792,6 +1792,9 @@ pi_result ExecCGCommand::SetKernelParamsAndLaunch(
1792
1792
&SpecConstsBuffer);
1793
1793
break ;
1794
1794
}
1795
+ case kernel_param_kind_t ::kind_invalid:
1796
+ throw runtime_error (" Invalid kernel param kind" , PI_INVALID_VALUE);
1797
+ break ;
1795
1798
}
1796
1799
};
1797
1800
You can’t perform that action at this time.
0 commit comments