[HIPIFY] Get rid of setting '--cuda-gpu-arch='

[Reasons]
+ We don't compile kernel code at least for now as HIP kernel syntax is almost equal CUDA's;
+ clang always includes PTX in its binaries, so e.g. a binary compiled with --cuda-gpu-arch= would be forwards-compatible with e.g. sm_35 GPUs.
Cette révision appartient à :
emankov a révisé 2018-12-29 19:48:28 +03:00
1 Parent d70bc5b6c3
révision dec459efca
2 fichiers modifiés
+2 -3

Aucun fichier ne correspond à votre recherche

+1 -1
Voir le fichier
@@ -60,7 +60,7 @@ if obj_root is not None:
config.environment['PATH'] = path
hipify_path = obj_root
clang_args = "-v --cuda-gpu-arch=sm_30 --cuda-path='%s'"
clang_args = "-v --cuda-path='%s'"
if sys.platform in ['win32']:
run_test_ext = ".bat"