ROCm / rocm_bandwidth_test

Bandwidth test for ROCm
MIT License
51 stars 28 forks source link

Added backward compatibility for hsa header include path #86

Closed raramakr closed 2 years ago

raramakr commented 2 years ago

Hsa header include path is based on Hsa package version Use "hsa.h" as include path if Hsa package version is lower than 1056300 Use "hsa/hsa.h" as include path if Hsa package version is 1056300 or higher Hsa package version 1056300 will be available from 5.3.0 onwards

Validation: Hsa package version lower than 1056300 implies older build scheme Hsa package version 1056300 and higher implies newer build scheme Tested rocm-bandwidth-test build for both old and new schemes Build log has warning message when using old build scheme Build log does not have any warning message for header include when using new scheme