Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/clr commit: 9e47fccc89]
This commit is contained in:
@@ -32,15 +32,14 @@ THE SOFTWARE.
|
||||
|
||||
#define len 256
|
||||
|
||||
int main()
|
||||
{
|
||||
int main() {
|
||||
int numDevices = 0;
|
||||
char name[len];
|
||||
hipDevice_t device;
|
||||
HIPCHECK(hipGetDeviceCount(&numDevices));
|
||||
for(int i=0;i<numDevices;i++){
|
||||
HIPCHECK(hipDeviceGet(&device,i));
|
||||
HIPCHECK(hipDeviceGetName(name,len,device));
|
||||
for (int i = 0; i < numDevices; i++) {
|
||||
HIPCHECK(hipDeviceGet(&device, i));
|
||||
HIPCHECK(hipDeviceGetName(name, len, device));
|
||||
HIPASSERT(name != "");
|
||||
}
|
||||
passed();
|
||||
|
||||
Reference in New Issue
Block a user