Skip to content

Add Kokkos specific analysis definition #6

Closed
@calewis

Description

@calewis

This will allow us to put specific things into the Kokkos project that are protected by __kokkos_analyzer__. For example:

#if defined(__kokkos_analyzer__)
#define KOKKOS_FUNCTION ... __attribute((annotate("KOKKOS_FUNCTION")))
#endif

Currently we use __clang_analyzer__ for this, but that doesn't get turned on when clangd is running preventing certain checks from happening in the editor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions