Evgeny Mankov
2383d9bc1a
[HIPIFY] nested macro is not hipified, when it isAnyIdentifier
...
Fix for https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/issues/55
2016-12-15 21:00:34 +03:00
Evgeny Mankov
ad3ec15d85
[HIPIFY] Code refactoring and total stat collecting
...
+ Single base class for Preprocessor and MatchFinder classes.
+ Total Stats for multiple files is added.
2016-12-13 18:01:08 +03:00
Evgeny Mankov
95ae514511
[HIPIFY] Rename -n to -examine
2016-12-12 20:03:01 +03:00
Evgeny Mankov
02468d31fc
[HIPIFY] Multiple source files support.
2016-12-12 19:57:19 +03:00
Evgeny Mankov
428a1bc79f
[HIPIFY] -no-backup option is added.
...
Is useful for release hipifying in place.
2016-12-08 23:14:19 +03:00
Evgeny Mankov
2374153c10
[HIPIFY] -no-output support.
...
Actually output file is created by clang itself, but isn't updated and is deleted after processing.
In cooperation with -print-stat -no-output (or single -n) is used for examine the source CUDA code.
Conflicting options:
-inplce
-o
2016-12-08 22:45:10 +03:00
Evgeny Mankov
23bbe6e467
Fix the limitation of supported input files.
...
Actually .cu and .cuda was supported.
+ All the file names are allowed, including file names without extension.
[IMPORTANT]
To hipify CUDA input file, which name is not *.cu, please add option "-x cuda" after tool's options ending marker "--", for instance:
./hipify-clang NeuralNet -- -x cuda
This option will go to clang itself, not the hipify tool.
2016-12-08 20:28:43 +03:00
Evgeny Mankov
1b64c167f6
[HIPIFY] wrap kernel name with HIP_KERNEL_NAME macros...
...
only in case of commas in it.
2016-10-28 20:05:51 +03:00
Evgeny Mankov
b0f37d0d2e
* [HIPIFY] Initial Profiler support.
...
CUDA Driver API porting to HIP:
+ cuProfilerStart, cuProfilerStop.
- cuProfilerInitialize & cudaProfilerInitialize - unsupported yet by HIP.
2016-10-28 18:32:13 +03:00
Evgeny Mankov
d464c8010b
[HIPIFY] Fix typo in option's help description
2016-10-20 18:57:52 +03:00
Evgeny Mankov
dae4b060bd
[HIPIFY] Add missing options to tool's -help
...
Also HelpMessage with a description of the common command-line options related to the compilation database and input files is added.
2016-10-20 18:29:24 +03:00
Evgeny Mankov
2faa63c2d8
[HIPIFY] Initial support of CUDA Limits.
2016-10-13 23:32:52 +03:00
Maneesh Gupta
798d4be080
clang-hipify -> hipify-clang. Also attempt to build it by default
...
Change-Id: I694e6c772f5347c820d9bd6c9aa61d6d9696911e
2016-10-05 13:06:22 +05:30