Skip to content

Commit

Permalink
Fix clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksmesh committed Jun 30, 2023
1 parent cbfddbe commit c7a0a1a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/common/type_coverage.h
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ void for_type_and_marrays(argsT &&...args) {
*/
template <template <typename, typename...> class action, typename T,
typename... actionArgsT, typename... argsT>
void for_marrays_of_type(argsT &&...args) {
void for_marrays_of_type(argsT&&... args) {
for_all_types<action, actionArgsT...>(
type_pack<typename sycl::template marray<T, 2>,
typename sycl::template marray<T, 5>,
Expand Down Expand Up @@ -657,8 +657,8 @@ void for_all_types_and_marrays(const named_type_pack<types...> &typeList,
*/
template <template <typename, typename...> class action,
typename... actionArgsT, typename... types, typename... argsT>
void for_marrays_of_all_types(const named_type_pack<types...> &typeList,
argsT &&...args) {
void for_marrays_of_all_types(const named_type_pack<types...>& typeList,
argsT&&... args) {
// run action for each type from types... parameter pack
// Using fold expression to iterate over all types within type pack

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ struct check_mask_ctors {
{
auto buffer = sycl::buffer(resultArr.data(), globalRange);

testQueue.submit([&](sycl::handler &h) {
testQueue.submit([&](sycl::handler& h) {
auto resultPtr =
buffer.template get_access<sycl::access_mode::read_write>(h);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ struct check_for_type {
check_type_extract_bits<T>, even_predicate,
const sycl::ext::oneapi::sub_group_mask>;

void operator()(const std::string &typeName) {
void operator()(const std::string& typeName) {
SECTION("testing: " + type_name_string<T>::get(typeName)) {
check_diff_sub_group_sizes<verification_func_for_even_predicate>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct check_for_type {
check_type_insert_bits<T>, mod3_predicate,
sycl::ext::oneapi::sub_group_mask>;

void operator()(const std::string &typeName) {
void operator()(const std::string& typeName) {
SECTION("testing: " + type_name_string<T>::get(typeName)) {
check_diff_sub_group_sizes<verification_func_for_mod3_predicate>();
}
Expand Down

0 comments on commit c7a0a1a

Please sign in to comment.