We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 370c7d6 commit c87236fCopy full SHA for c87236f
offload/include/OffloadPolicy.h
@@ -51,7 +51,8 @@ class OffloadPolicy {
51
52
public:
53
static bool isOffloadDisabled() {
54
- return static_cast<kmp_target_offload_kind_t>(__kmpc_get_target_offload()) == tgt_disabled);
+ return static_cast<kmp_target_offload_kind_t>(__kmpc_get_target_offload())
55
+ == tgt_disabled;
56
}
57
58
static const OffloadPolicy &get(PluginManager &PM) {
0 commit comments