summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Szabo <stephan.szabo@sony.com>2018-11-21 18:09:52 (GMT)
committerStephan Szabo <stephan.szabo@sony.com>2018-11-28 15:43:27 (GMT)
commitf61e0975540504c00c7dc6f763a83e8c74fe7d83 (patch)
tree72f115e94e2026a3bfe15e5df6dd0385835bc998
parentc17809bcd7014bf64cd9f95d9e38d5198abc4588 (diff)
downloadCMake-f61e0975540504c00c7dc6f763a83e8c74fe7d83.zip
CMake-f61e0975540504c00c7dc6f763a83e8c74fe7d83.tar.gz
CMake-f61e0975540504c00c7dc6f763a83e8c74fe7d83.tar.bz2
VS: Add more CUDA flag table entries
Original header commit v3.9.0-rc1~431^2~2
-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 ac853af..1a01f8d 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": []
}
]