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
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