summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2018-11-21 10:09:52 -0800
committerStephan Szabo <stephan.szabo@sony.com>2018-11-28 07:43:27 -0800
commitf61e0975540504c00c7dc6f763a83e8c74fe7d83 (patch)
tree72f115e94e2026a3bfe15e5df6dd0385835bc998 /Templates
parentc17809bcd7014bf64cd9f95d9e38d5198abc4588 (diff)
downloadcmake-f61e0975540504c00c7dc6f763a83e8c74fe7d83.tar.gz
VS: Add more CUDA flag table entries
Original header commit v3.9.0-rc1~431^2~2
Diffstat (limited to 'Templates')
-rw-r--r--Templates/MSBuild/FlagTables/v10_Cuda.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v10_Cuda.json b/Templates/MSBuild/FlagTables/v10_Cuda.json
index ac853af6a8..1a01f8dd21 100644
--- a/Templates/MSBuild/FlagTables/v10_Cuda.json
+++ b/Templates/MSBuild/FlagTables/v10_Cuda.json
@@ -160,5 +160,47 @@
"flags": [
"UserFollowing"
]
+ },
+ {
+ "name": "FastMath",
+ "switch": "use_fast_math",
+ "comment": "",
+ "value": "true",
+ "flags": []
+ },
+ {
+ "name": "FastMath",
+ "switch": "-use_fast_math",
+ "comment": "",
+ "value": "true",
+ "flags": []
+ },
+ {
+ "name": "GPUDebugInfo",
+ "switch": "G",
+ "comment": "",
+ "value": "true",
+ "flags": []
+ },
+ {
+ "name": "GPUDebugInfo",
+ "switch": "-device-debug",
+ "comment": "",
+ "value": "true",
+ "flags": []
+ },
+ {
+ "name": "HostDebugInfo",
+ "switch": "g",
+ "comment": "",
+ "value": "true",
+ "flags": []
+ },
+ {
+ "name": "HostDebugInfo",
+ "switch": "-debug",
+ "comment": "",
+ "value": "true",
+ "flags": []
}
]