Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6e050c commit 3219f1aCopy full SHA for 3219f1a
1 file changed
openmp/device/src/Configuration.cpp
@@ -28,8 +28,8 @@ using namespace ompx;
28
// This variable should be visible to the plugin so we override the default
29
// hidden visibility.
30
[[gnu::used, gnu::retain, gnu::weak,
31
- gnu::visibility(
32
- "protected")]] Constant<DeviceEnvironmentTy> __omp_rtl_device_environment;
+ gnu::visibility("protected")]] Constant<DeviceEnvironmentTy>
+ __omp_rtl_device_environment{};
33
34
uint32_t config::getAssumeTeamsOversubscription() {
35
return __omp_rtl_assume_teams_oversubscription;
0 commit comments