Evgeny Mankov
c0c5fbf0b7
[HIPIFY] Temporary files in system temps introducing
...
+ Files are not being placed near original source before hipification anymore, system tmp is used for them now.
+ Additional include (-I) to absolute original source dir is added
+ Partially implements #812
+ Tested on windows/linux, single/multiple inputs, with and without includes to user header files
[ROCm/hip commit: da6fdc0397 ]
2018-12-17 20:48:48 +03:00
Evgeny Mankov
e29a80e5f2
[HIPIFY][fix] Fix for the rest of found bugs in Statistics
...
+ Signs of the converted file are extended
+ Total converted lines and total elapsed time are fixed
+ Zero rates are excluded from statistics
[ROCm/hip commit: bffacb6c72 ]
2018-12-13 18:35:45 +03:00
Evgeny Mankov
13faaec7b5
[HIPIFY][fix] Fixer for #801
...
[issue #801 ] Errors in hipification statistics
[ROCm/hip commit: 9d223f0f65 ]
2018-12-12 21:33:00 +03:00
Evgeny Mankov
3621afd4e6
[HIPIFY] Initial support of translation to ROCm
...
+ Option '-roc' is added to translate to ROCm instead of HIP
+ Update hipification mechanism accordingly
+ Populate all translation maps with additional field for ROCm identifiers
+ There are 4 degrees of CUDA support now: full support, only by HIP, only by ROCm, unsupported
[ROCm/hip commit: c5ed25da22 ]
2018-12-06 21:52:54 +03:00
Evgeny Mankov
fd03a77da0
[HIPIFY][SPARSE] Add 3 more CUDA 10.0 tests
...
+ lit update
+ fix typos
[ROCm/hip commit: 72d40db358 ]
2018-12-04 19:24:29 +03:00
Evgeny Mankov
71005f60da
[HIPIFY][SPARSE] Matrix Reorderings and Format Conversion Reference
...
+ cuSPARSE is supported up to CUDA 10.0
+ cuSPARSE_08 test (CUDA 10.0)
+ update CUSPARSE_API_supported_by_HIP.md
+ lit: add a rule for CUDA 10.0 tests excluding
[ROCm/hip commit: 116b9191f7 ]
2018-11-30 15:33:57 +03:00
Evgeny Mankov
2e10abdc53
[HIPIFY][SPARSE] Preconditioners Reference: Tridiagonal and Pentadiagonal solves
...
+ Tridiagonal Solve, Batched Tridiagonal and Pentadiagonal Solve
+ cuSPARSE_07 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/hip commit: 8a84c665e2 ]
2018-11-29 18:46:51 +03:00
Evgeny Mankov
9076aaed1f
[HIPIFY][SPARSE] Preconditioners Reference: Incomplete LU Factorization: level 0
...
+ cuSPARSE_06 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/hip commit: 6c085c83a2 ]
2018-11-29 15:59:58 +03:00
Evgeny Mankov
27960048a3
[HIPIFY][SPARSE] Preconditioners Reference: Incomplete Cholesky Factorization: level 0
...
+ cuSPARSE_05 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/hip commit: b39bd8c9a9 ]
2018-11-28 20:10:30 +03:00
Evgeny Mankov
b2c7acb939
[HIPIFY][SPARSE] Extra functions
...
+ cuSPARSE_04 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/hip commit: 11fedfbff6 ]
2018-11-27 12:41:50 +03:00
Evgeny Mankov
1ceb4b3fb9
[HIPIFY][SPARSE] Level 3 functions
...
+ cuSPARSE_03 test
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/hip commit: 82bbaf0b70 ]
2018-11-27 11:57:25 +03:00
Evgeny Mankov
171d7b4e45
[HIPIFY][SPARSE] Helper and Level 1,2 functions
...
+ 2 cuSPARSE tests
+ update CUSPARSE_API_supported_by_HIP.md
[ROCm/hip commit: c7f6266824 ]
2018-11-26 15:11:52 +03:00
Maneesh Gupta
e2bc3e49a5
Merge pull request #748 from mkuron/getsymboladdress
...
Implement hipGetSymbolAddress and hipGetSymbolSize
[ROCm/hip commit: bcea027bf1 ]
2018-11-21 10:32:01 +05:30
emankov
f110bfe634
[HIPIFY][SPARSE] Data types support
...
+ Add all cuSPARSE types
+ Update CUSPARSE_API_supported_by_HIP.md
+ Update README.md
[ROCm/hip commit: 47aeaecec8 ]
2018-11-21 01:31:02 +03:00
emankov
f5f06217a8
[HIPIFY][SPARSE] Initial support
...
[ROCm/hip commit: 30c387a811 ]
2018-11-20 17:58:05 +03:00
Michael Kuron
c35dfb71d5
Merge branch 'master' into getsymboladdress
...
[ROCm/hip commit: 8610128c3e ]
2018-11-20 12:03:22 +01:00
Evgeny Mankov
223ab79e90
[HIPIFY] Move Complex API types and functions to separate files
...
[ROCm/hip commit: 8aefe12b8e ]
2018-11-19 21:04:47 +03:00
Evgeny Mankov
b55426217c
[HIPIFY] CUDA Driver API functions total revise (up to CUDA 10.0)
...
+ for all CUDA versions
+ add missing types
+ fix typos
+ sync with HIP
+ update CUDA_Driver_API_functions_supported_by_HIP.md
+ formatting, annotating
[ROCm/hip commit: cfabad4354 ]
2018-11-19 20:00:05 +03:00
Evgeny Mankov
517ba1c4c1
[HIPIFY][LLVMCompat] support of upcoming LLVM 8.0
...
+ StringRef issue, which is finally moved to LLVM from Clang
+ Renamed getBeginLoc() and getEndLoc() resolution for Expr and TypeLoc classes
+ Support all the previous LLVM versions via LLVCompat
[ROCm/hip commit: aad5858cb1 ]
2018-11-16 01:23:25 +03:00
Michael Kuron
bc455ccf50
Implement hipGetSymbolAddress and hipGetSymbolSize
...
[ROCm/hip commit: 73616582d6 ]
2018-11-04 10:39:34 +01:00
Evgeny Mankov
883f902eaf
[HIPIFY][fix] Fix typo and functions' string arguments
...
+ Fix typo with missing comma in counterNames array
+ Change std::string argument to const std::string& argument in all functions
[ROCm/hip commit: eff5d3fc1b ]
2018-11-01 16:57:57 +03:00
Evgeny Mankov
96fefc34b4
[HIPIFY][fix][ #739 ] Fix garbage after replacements
...
[Issue] https://github.com/ROCm-Developer-Tools/HIP/issues/739
[Resolution] Always use an std::string not a clang::StringRef for replacement
P.S. Occurred only on Linux, on Windows works fine.
[ROCm/hip commit: a8e6033aa3 ]
2018-10-30 19:35:59 +03:00
Evgeny Mankov
e4d356fdae
[HIPIFY][fix] Return back cudaDeviceProp's struct field warpSize to hipWarpSize mapping.
...
[ROCm/hip commit: 104be4b677 ]
2018-10-30 15:53:00 +03:00
Evgeny Mankov
7470b5b694
[HIPIFY] Modify HIP types to conform to CUDA's ones
...
[ROCm/hip commit: f83eabfa9e ]
2018-10-29 20:51:25 +03:00
Evgeny Mankov
84b710d1c5
[HIPIFY] CUDA Runtime API data types total revise
...
+ for all CUDA versions up to 10.0
+ add missing types
+ fix typos
+ sync with HIP
+ sync with CUDA Driver API
+ update CUDA_Runtime_API_functions_supported_by_HIP.md
+ update CUDA Driver API map accordingly
+ update CUDA_Driver_API_functions_supported_by_HIP.md
+ formatting, annotating
[ROCm/hip commit: c5bfa09b04 ]
2018-10-29 17:13:00 +03:00
Evgeny Mankov
0fef14487c
[HIPIFY] Split CUDA2HIP map into a number of maps based on API type
...
[Reasons]
+ Simplify the support
+ Optimize compilation and code generation time
[Additionally]
+ Update minimum required version of cmake
+ Fix MSVC compile options force update
[ROCm/hip commit: 5d1255272b ]
2018-10-23 00:00:10 +03:00
Evgeny Mankov
c20c22ca21
[HIPIFY] CUDA Driver API data types total revise
...
+ for all CUDA versions
+ add missing types
+ fix typos
+ sync with HIP
+ update CUDA_Driver_API_functions_supported_by_HIP.md
+ formatting, annotating
[ROCm/hip commit: 520e795a8d ]
2018-10-18 18:50:24 +03:00
Evgeny Mankov
5b192ed119
[HIPIFY] Code cleanup and formatting
...
[ROCm/hip commit: ee3a5cc722 ]
2018-10-15 15:27:37 +03:00
Evgeny Mankov
a7a959093b
[HIPIFY] CUDA 10.0 Driver API initial support
...
[ROCm/hip commit: e3d7cc2885 ]
2018-10-03 20:29:22 +03:00
Evgeny Mankov
9ff79bfeb7
Merge pull request #687 from emankov/hipBLAS
...
[HIPIFY][BLAS] Add support of hipblasGemmEx and corresponding types
[ROCm/hip commit: 3a1157653f ]
2018-09-25 18:48:06 +03:00
Evgeny Mankov
e47c0c0a9e
[HIPIFY][BLAS] Add support of hipblasGemmEx and corresponding types
...
TODO (hipBLAS/HIP): rename hipblasDatatype_t to hipDataType_t and move it from hipBLAS to HIP, as Data types are used not only in BLAS library.
[ROCm/hip commit: d279c7a1dd ]
2018-09-25 18:46:23 +03:00
Evgeny Mankov
37d047b454
[HIPIFY][Complex] Add cuComplex support
...
+ Add API_COMPLEX support (data types and functions)
+ Add cuComplex_API_supported_by_HIP.md
+ Add cuComplex_Julia.cu test
+ Update README.md
[ROCm/hip commit: 368977f75b ]
2018-08-08 18:34:57 +03:00
Evgeny Mankov
2122770861
[HIPIFY][FFT] Add cuFFT support
...
+ Add API_FFT support (data types and functions)
+ Add CUFFT_API_supported_by_HIP.md
+ Add simple_cufft.cu test
+ Update README.md
[ROCm/hip commit: 70cfa5e53c ]
2018-07-31 22:25:48 +03:00
Evgeny Mankov
baa29eb5d7
[HIPIFY][BLAS] cuBLAS support revise
...
+ doc for CUBLAS API supported by HIP
+ 3 tests: 0 & 1 based indexing, sgemm matmul
[ROCm/hip commit: 92eb165875 ]
2018-07-28 21:00:44 +03:00
Evgeny Mankov
467f9a5e89
[HIPIFY][DNN] cuDNN support revise
...
+ add doc for CUDDN API supported by HIP
+ cuDNN softMax test
[ROCm/hip commit: 7ef05de0d5 ]
2018-07-20 21:00:24 +03:00
Evgeny Mankov
b063b3eb26
[HIPIFY] Support of cudaComputeMode / CUcomputemode
...
+ update docs
+ fix typo in hip_runtime_api.h
[ROCm/hip commit: 55e21055e3 ]
2018-07-14 16:08:19 +03:00
Evgeny Mankov
51fff4049a
[HIPIFY] Current trunk LLVM 7.0 initial support
...
Tested with CUDA 8.0, 9.0, 9.1 and 9.2.
Only 8.0 works with LLVM 7.0, due to the changes in LLVM trunc since released 6.0, which works fine with CUDA 8.0 and 9.0.
So, nothing to do in hipify-clang, hope that all the CUDA 9.x related issues will be fixed in 7.0 release.
[ROCm/hip commit: 433e172776 ]
2018-07-11 20:15:49 +03:00
Evgeny Mankov
2c8fbf1a67
[HIPIFY] Add DEBUG(X) macro compatibility
...
In LLVM 7.0 DEBUG(X) was deleted, LLVM_DEBUG(X) should be used instead.
[ROCm/hip commit: 9fcb48e5c4 ]
2018-07-11 18:21:00 +03:00
Evgeny Mankov
a63f8510b0
[HIPIFY][DNN] support of cuDNN 7.1.3 - finishing
...
[ROCm/hip commit: a5df3a484c ]
2018-05-21 18:31:20 +03:00
Evgeny Mankov
3d792501c6
[HIPIFY][DNN] support of cuDNN 7.1.3 - continuation 2
...
- not finished yet.
- based on https://github.com/ROCmSoftwarePlatform/hipDNN .
- testing on https://github.com/baidu-research/DeepBench - almost pass, except cusparse (not supported yet).
- started testing of examples from libcudnn7-dev_7.1.3.16-1+cuda8.0_amd64 package.
[ROCm/hip commit: b0fd0c310d ]
2018-05-14 16:23:59 +03:00
Evgeny Mankov
3ff6d4c311
[HIPIFY][DNN] support of cuDNN 7.1.3 - continuation
...
- not finished yet.
- based on https://github.com/ROCmSoftwarePlatform/hipDNN .
- testing on https://github.com/baidu-research/DeepBench .
[ROCm/hip commit: dffe1802be ]
2018-05-10 17:36:51 +03:00
Evgeny Mankov
44007e29ab
[HIPIFY][Blas] Sync with CUDA 9.1
...
[ROCm/hip commit: e5ba9668fc ]
2018-05-08 20:42:30 +03:00
Evgeny Mankov
ef30e4601e
[HIPIFY] Sync with hipBLAS
...
[ROCm/hip commit: 7681775662 ]
2018-05-08 19:20:47 +03:00
Evgeny Mankov
057b13fc4a
[HIPIFY] Initial cuDNN support
...
- based on https://github.com/ROCmSoftwarePlatform/hipDNN .
- lit testing was supplemented with CUDA_DNN_ROOT_DIR for cuDNN testing.
- single cuDNN test was added.
[ROCm/hip commit: fe421c89b2 ]
2018-05-03 11:33:40 +03:00
Evgeny Mankov
6b53512635
[HIPIFY] Sync with HIP (Execution Control, Surfaces, Memory)
...
Execution Control [deprecated since 7.0]:
cudaConfigureCall -> hipConfigureCall
cudaLaunch -> hipLaunchByPtr
cudaSetupArgument -> hipSetupArgument
Surfaces (partially):
cudaSurfaceObject_t -> hipSurfaceObject_t
cudaSurfaceBoundaryMode -> hipSurfaceBoundaryMode
cudaCreateSurfaceObject -> hipCreateSurfaceObject
cudaDestroySurfaceObject -> hipDestroySurfaceObject
Memory Management:
cudaMemset2DAsync -> hipMemset2DAsync
[ROCm/hip commit: 6f501f6094 ]
2018-04-24 22:04:04 +03:00
Evgeny Mankov
540fc92b1c
[HIPIFY] undo apply .clangformat to HIPIFY source files
...
[ROCm/hip commit: 8499e79e2b ]
2018-04-23 20:22:15 +03:00
Maneesh Gupta
4f42ee762d
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/hip commit: 1ba06f63c4 ]
2018-03-12 11:29:03 +05:30
Evgeny Mankov
1b25dfa25c
[HIPIFY][fix] Build against llvm 3.8.0 fixed - missing include
...
/srv/HIP/hipify-clang/src/main.cpp:134:19: error: no member named 'dbgs' in namespace 'llvm'
DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
~~~~~~^
[ROCm/hip commit: 7f3e89bbb0 ]
2018-02-08 00:08:47 +03:00
Evgeny Mankov
934c34e81f
[HIPIFY][tests] add poisson-api-example test
...
+ add missing types
+ doc update
[ROCm/hip commit: 26095fe7c1 ]
2018-01-30 19:50:18 +03:00
Evgeny Mankov
58d1f6f3b3
[HIPIFY][tests] fix typo
...
[ROCm/hip commit: 9d814bef31 ]
2018-01-30 18:55:09 +03:00