added negative testing for device APIs
Change-Id: I7bfcdd777f240d36b29eca987f7bc9da7614d704
[ROCm/hip commit: 4d56ac99e4]
Dieser Commit ist enthalten in:
@@ -0,0 +1,10 @@
|
||||
#include<hip/hip_runtime.h>
|
||||
#include<hip/hip_runtime_api.h>
|
||||
#include"hipDeviceUtil.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
int device;
|
||||
HIP_CHECK(hipGetDevice(NULL), hipGetDevice);
|
||||
HIP_CHECK(hipGetDevice(&device), hipGetDevice);
|
||||
}
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren