This added a generic ability of the OCCA parser to allow qualifier_t tokens to take arguments, and adds the __attribute__ keyword as a qualifier. Consequently, some initial __attribute__ and dllexport__ statements should be possible.
This is useful when using some backend-specific compiler attributes on variables/functions, e.g.
Description
This added a generic ability of the OCCA parser to allow
qualifier_t
tokens to take arguments, and adds the__attribute__
keyword as a qualifier. Consequently, some initial__attribute__
anddllexport__
statements should be possible.This is useful when using some backend-specific compiler attributes on variables/functions, e.g.
or when needing specific variable traits, e.g. with AMD GPUs and MFMA instructions: