During execution of xbinst, a simple, prebuilt executable and the associated xclbin is included in the <xbinst-area>/test directory. This executable checks that the drivers and the DSA are correctly installed and that the setup is operating as expected. These steps are required to perform the installation validation:
1.Source the setup.sh (Bash) or setup.csh (csh/tcsh):
$ source <xbinst-area>/setup.[sh|csh]
2.Change to the test directory and run the validation executable.
If the test directory is not write-enabled, it might be necessary to run the executable from a different directory with an absolute path to the verify.exe.
3.Execute the following:
$ cd /tmp/
$ <xbinst-area>/test/verify.exe <xbinst-area>/test/verify.xclbin
The system is correctly functioning if the output looks similar to the following:
CL_PLATFORM_VENDOR AMD
CL_PLATFORM_NAME AMD
Get 1 devices
Using 1th device
loading <..path to..>/verify.xclbin
RESULT:
Hello World