Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/hip commit: 1ba06f63c4]
This commit is contained in:
1 parent
52506ef382
commit
4f42ee762d
293 files changed
+43974
-45824
No files matched your search
@@ -20,12 +20,11 @@ THE SOFTWARE.
|
||||
#include <hip/hip_runtime_api.h>
|
||||
#include "test_common.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
int main() {
|
||||
hipDeviceProp_t prop;
|
||||
HIP_PRINT_STATUS(hipGetDeviceProperties(&prop, -1));
|
||||
int cnt;
|
||||
hipGetDeviceCount(&cnt);
|
||||
HIP_PRINT_STATUS(hipGetDeviceProperties(&prop, cnt+1));
|
||||
HIP_PRINT_STATUS(hipGetDeviceProperties(&prop, cnt + 1));
|
||||
HIP_PRINT_STATUS(hipGetDeviceProperties(NULL, 0));
|
||||
}
|
||||
Reference in new issue
Block a user