Skip to content

Commit

Permalink
update formatting for rocm 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Snektron authored and Beanavil committed Sep 17, 2024
1 parent f972e4a commit 5101948
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Common/example_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2022-2023 Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2022-2024 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 1 addition & 3 deletions Libraries/hipFFT/plan_z2z/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ void fft_example(const int dimension, const int size = 4, const int direction =
std::uniform_real_distribution<double> distribution{};
std::generate(input.begin(),
input.end(),
[&]() {
return input_t{distribution(generator), distribution(generator)};
});
[&]() { return input_t{distribution(generator), distribution(generator)}; });

std::cout << "Input:\n" << std::setprecision(3);
print_nd_data(input, n, 16);
Expand Down
5 changes: 2 additions & 3 deletions Libraries/rocRAND/simple_distributions_cpp/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// MIT License
//
// Copyright (c) 2022 Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2022-2024 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -253,8 +253,7 @@ int main(const int argc, const char** argv)

if(number_of_devies <= 0)
{
std::cerr << "HIP supported devices not found!"
<< "\n";
std::cerr << "HIP supported devices not found!\n";
exit(error_exit_code);
}

Expand Down

0 comments on commit 5101948

Please sign in to comment.