SWDEV-436405 - Move hipChooseDevice out of hip namespace
Change-Id: I47a3cc5e5409f418b282d1a2e250128c769f4778
This commit is contained in:
committed by
Anusha Godavarthy Surya
orang tua
d6d235a111
melakukan
4a7291ded8
@@ -157,10 +157,6 @@ hipError_t hipChooseDeviceR0000(int* device, const hipDeviceProp_tR0000* propert
|
||||
HIP_RETURN(ihipChooseDevice(device, properties));
|
||||
}
|
||||
|
||||
hipError_t hipChooseDevice(int* device, const hipDeviceProp_tR0000* properties) {
|
||||
return hip::hipChooseDeviceR0000(device, properties);
|
||||
}
|
||||
|
||||
hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device) {
|
||||
HIP_INIT_API(hipDeviceGetAttribute, pi, attr, device);
|
||||
|
||||
@@ -721,3 +717,7 @@ hipError_t hipSetValidDevices(int* device_arr, int len) {
|
||||
HIP_RETURN(hipErrorNotSupported);
|
||||
}
|
||||
} //namespace hip
|
||||
|
||||
extern "C" hipError_t hipChooseDevice(int* device, const hipDeviceProp_tR0000* properties) {
|
||||
return hip::hipChooseDeviceR0000(device, properties);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user