aboutsummaryrefslogtreecommitdiffstats
path: root/tests/amdgpu/amdgpu_test.h
diff options
context:
space:
mode:
authorAlex Xie <AlexBin.Xie@amd.com>2017-01-24 17:29:51 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-01-27 11:55:28 -0500
commit12dd7a2e9cfa20a3022cfe091e824b09c0bfb9d1 (patch)
tree12b9d90d93cef2fbd3565bcf1b9e08da31035424 /tests/amdgpu/amdgpu_test.h
parent5e0f7c5c65ca6714cd7352d72303ec2cbec35cb5 (diff)
downloadexternal_libdrm-12dd7a2e9cfa20a3022cfe091e824b09c0bfb9d1.tar.gz
external_libdrm-12dd7a2e9cfa20a3022cfe091e824b09c0bfb9d1.tar.bz2
external_libdrm-12dd7a2e9cfa20a3022cfe091e824b09c0bfb9d1.zip
amdgpu: A new option to choose which device to run most tests
This can be used to test multiple GPUs v2: Use PCI bus ID and optional PCI device ID to choose device Add an option to display information of AMDGPU devices Tested: ./amdgpu_test -p ./amdgpu_test ./amdgpu_test -b 1 #fail as expected ./amdgpu_test -b 6 #pass ./amdgpu_test -b -d 1 #fail as expected ./amdgpu_test -b -d 0 #pass Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Alex Xie <AlexBin.Xie@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tests/amdgpu/amdgpu_test.h')
0 files changed, 0 insertions, 0 deletions