The invention provides a compatibility
test suite for
CUDA specifications and an execution method, and belongs to the technical field of
software testing, and the method comprises the steps of generating an
executable binary file of the compatibility
test suite based on a construction demand preset by a user; test parameters specified by a user are obtained, a thread
execution plan is generated based on the
executable binary file and the test parameters, a
CUDA standard compatibility test is executed according to the thread
execution plan, and an API test result is obtained; obtaining report parameters specified by a user,
processing the API test result according to the report parameters, and generating test process data; performing test judgment based on the test process data, and generating and storing a complete
CUDA standard compatibility
test report according to a test result; the special
consistency test kit for the CUDA standard fills the blank of the special
consistency test kit for the CUDA standard in the industry, can be used as a unified reference to penetrate through the whole CUDA
ecological process, effectively solves the industrial pain point of no special test tool, and guarantees the compatibility and reliability of the CUDA
ecology.