cmake-format + miscellaneous tweaks (#13)
* cmake-format + miscellaneous tweaks
* Formatted cmake in examples and tests
* Updated linux-ci.yml artifacts naming
* Updated clang-format
* Fixed submodule branches
[ROCm/rocprofiler-systems commit: 6c93674f92]
This commit is contained in:
committed by
GitHub
parent
8bda450acf
commit
f3e7a1664a
@@ -130,18 +130,14 @@ main(int argc, char** argv)
|
||||
{
|
||||
int nx = 32;
|
||||
int ny = 32;
|
||||
if(argc > 1)
|
||||
nx = atoi(argv[1]);
|
||||
if(argc > 2)
|
||||
ny = atoi(argv[2]);
|
||||
if(argc > 1) nx = atoi(argv[1]);
|
||||
if(argc > 2) ny = atoi(argv[2]);
|
||||
|
||||
unsigned int M = 4960;
|
||||
unsigned int N = 4960;
|
||||
|
||||
if(argc > 3)
|
||||
M = atoi(argv[3]);
|
||||
if(argc > 4)
|
||||
N = atoi(argv[4]);
|
||||
if(argc > 3) M = atoi(argv[3]);
|
||||
if(argc > 4) N = atoi(argv[4]);
|
||||
|
||||
std::cout << "M: " << M << " N: " << N << std::endl;
|
||||
size_t size = sizeof(int) * M * N;
|
||||
|
||||
Reference in New Issue
Block a user