ROCR-Runtime
ROCR-Runtime copied to clipboard
Fixing non-portable inline attribute on hsa_flag_* utilities.
Not all compilers support the __attribute__ syntax and those that do may not support always_inline. This changes to just using inline on the simple flag functions as they are likely to be inlined anyway. Fixes MSVC builds.
I vote for removing the attribute from this file altogether. But I'll defer to @dayatsin-amd's opinion here.
I vote for removing the attribute from this file altogether. But I'll defer to @dayatsin-amd's opinion here.
This is aligned with our goal of having ROCR on windows OS
Simplified to just removing the attribute and using the C inline keyword. PTAL!