Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/hip commit: 1ba06f63c4]
This commit is contained in:
@@ -30,14 +30,13 @@ THE SOFTWARE.
|
||||
|
||||
#include "test_common.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
int main() {
|
||||
int numDevices = 0;
|
||||
int major,minor;
|
||||
int major, minor;
|
||||
hipDevice_t device;
|
||||
HIPCHECK(hipGetDeviceCount(&numDevices));
|
||||
for(int i=0;i<numDevices;i++){
|
||||
HIPCHECK(hipDeviceGet(&device,i));
|
||||
for (int i = 0; i < numDevices; i++) {
|
||||
HIPCHECK(hipDeviceGet(&device, i));
|
||||
HIPCHECK(hipDeviceComputeCapability(&major, &minor, device));
|
||||
HIPASSERT(major >= 0);
|
||||
HIPASSERT(minor >= 0);
|
||||
|
||||
Reference in New Issue
Block a user