added tests to check nvcc runtime api output
Change-Id: Ifdd39b5d0a6a58d20a8e9745e59dd82d50a90e2f
[ROCm/clr commit: 6692ee09d7]
Bu işleme şunda yer alıyor:
@@ -0,0 +1,11 @@
|
||||
#include<hip/hip_runtime_api.h>
|
||||
#include"test_common.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
int dev;
|
||||
hipDeviceProp_t prop;
|
||||
HIP_PRINT_STATUS(hipChooseDevice(&dev, &prop));
|
||||
HIP_PRINT_STATUS(hipChooseDevice(0, &prop));
|
||||
HIP_PRINT_STATUS(hipChooseDevice(0, 0));
|
||||
}
|
||||
Yeni konuda referans
Bir kullanıcı engelle