Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nickolas Davis
VTK-m
Commits
d01b9738
Commit
d01b9738
authored
Mar 05, 2019
by
Allison Vacanti
Committed by
Robert Maynard
Apr 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow VTKM_SUPPRESS_EXEC_WARNINGS to be used inside macros.
parent
2f2ca937
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vtkm/internal/ExportMacros.h
vtkm/internal/ExportMacros.h
+2
-2
No files found.
vtkm/internal/ExportMacros.h
View file @
d01b9738
...
...
@@ -30,9 +30,9 @@
#define VTKM_EXEC __device__ __host__
#define VTKM_EXEC_CONT __device__ __host__
#if __CUDAVER__ >= 75000
#define VTKM_SUPPRESS_EXEC_WARNINGS
#p
ragma
nv_exec_check_disable
#define VTKM_SUPPRESS_EXEC_WARNINGS
_P
ragma
("
nv_exec_check_disable
")
#else
#define VTKM_SUPPRESS_EXEC_WARNINGS
#p
ragma
hd_warning_disable
#define VTKM_SUPPRESS_EXEC_WARNINGS
_P
ragma
("
hd_warning_disable
")
#endif
#else
#define VTKM_EXEC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment