Aryan Salmanpour
dfa565d76f
resolve merge conflict
2020-02-10 10:30:55 -05:00
mhbliao
8343d7c9aa
[hip] Cleanup compiler wrapper for HIP-Clang. ( #1847 )
2020-02-07 13:28:26 -08:00
Michael LIAO
59bd608bfe
[hipcc] Skip warning on gfx000.
...
- The known target checking should skip `gfx000` as well as it won't be
used in real compilation command formation. The avoid generating
annoying warning on `gfx000`.
2020-02-06 17:09:14 -05:00
Siu Chi Chan
713702eebc
Enable code object v3 codgen when compiling with HCC ( #1836 )
...
Change-Id: I590c05a418cc37ec247b89124cef17a7fe8b27e2
2020-02-05 20:56:33 +05:30
kpyzhov
951d7d4ba6
hipcc script: Refined device selection; added gfx1011 target. ( #1821 )
2020-02-04 08:56:16 +05:30
Aryan Salmanpour
d805e98fcb
update the hipify-perl
2020-01-31 14:36:37 -05:00
Aryan Salmanpour
75572a4175
code clean up
2020-01-31 13:08:25 -05:00
Aryan Salmanpour
6db9b782be
[HIP][HIPIFY] Add some missing flags for cooperative launch and occupancy APIs
2020-01-30 15:05:53 -05:00
paulfreddy
c5ed5c71a3
Changes for multiple ROCm installation ( #1771 )
...
* FBA-29, FBA-69, multiple rocm support, shared library conflicts
Changes to resolve:
1) Multiple rocm release installation support
2) Multiple rocm shared lib conflicts
3) Add the so versioning also
2020-01-21 14:17:35 +05:30
Evgeny Mankov
41beed4839
[HIPIFY] Sync with hipSPARSE
...
+ Update hipify-perl and doc accordingly
2020-01-13 18:34:10 +03:00
Rahul Garg
3fe1695c3a
Fix hipcc warning related to hipVersion ( #1767 )
...
* Fix hipcc warning related to hipVersion
* Rename hipVersion.h to hip_version.h
* Remove HIP_VERSION splitting
* Update .gitignore
- Ignore generated include/hip/hip_version.h
- Removed some stale entries
- Added executables from samples/1_Utils/*/ for consistency with bin/ entries.
2020-01-06 12:33:23 +05:30
Evgeny Mankov
ed43699a3a
Merge pull request #1759 from emankov/master
...
[HIP] Unify hipError_t (Step 2)
2019-12-30 19:21:09 +03:00
Sarbojit2019
4fd77f8336
Change to generate hipVersion.h ( #1726 )
...
HIP_VERSION_MAJOR, HIP_VERSION_MINOR, HIP_VERSION_PATCH and HIP_VERSION pre-processor macros are now defined in hipVersion.h instead of being set by hipcc.
2019-12-30 12:44:24 +05:30
Evgeny Mankov
9ae76609a1
[HIP] Unify hipError_t (Step 2)
...
Step 2. Make a few hipError codes deprecated
Update hipify-clang, hipify-perl, docs and samples accordingly
2019-12-22 02:05:31 +03:00
Maneesh Gupta
86e590ad62
bump version to 3.1 ( #1756 )
...
* Bump version to 3.1
* [ci] Enable tests on ROCm 3.0
2019-12-20 12:10:25 -08:00
Evgeny Mankov
1108ef06e1
[HIPIFY] Revise HIP runtime
...
+ hipMemAllocHost is deprecated, use hipHostMalloc instead
+ hipMemAllocManaged -> hipMallocManaged
+ hipFreeHost -> hipHostFree
+ cudaMemset3D(Async) -> hipMemset3D(Async)
+ update docs and hipify-perl accordingly
2019-12-16 20:09:55 +03:00
Evgeny Mankov
c7bea1f865
[HIPIFY][BLAS] Sync with cuBlas/rocblas/hipBlas
2019-12-12 19:52:18 +03:00
Evgeny Mankov
43441eb99c
[HIPIFY] CUDA 10.2 (functions only)
...
+ Both Driver API and RT API are supported and synced with each other
+ Update *.md docs and hipify-perl accordingly
+ Add new conversion type "virtual_memory", introduced in Dirver API
2019-12-04 18:37:31 +03:00
Evgeny Mankov
721a8540c0
[HIPIFY] CUDA 10.2 fp_16 support
2019-12-04 13:27:46 +03:00
Evgeny Mankov
33f81effb1
[HIPIFY] CUDA 10.2 support (data types only)
...
+ Both Driver API and RT API are supported and synced with each other
+ Update *.md docs and hipify-perl accordingly
2019-12-04 12:25:20 +03:00
Evgeny Mankov
636108aaa9
[HIPIFY] Sync cudaError/CUresult between CUDA Driver API/CUDA RT API/HIP
...
+ Update *.md docs and hipify-perl accordingly
[Reason]
Starting with CUDA 10.1 all error codes are merged between Driver and RT APIs
[ToDo]
Do the same merge in HIP API as there is no need in distinguishing return codes by API
2019-11-29 19:29:11 +03:00
Maneesh Gupta
0a2682625f
Bump version to 3.0 ( #1648 )
...
Change-Id: Id1e6eb222080a339af938212e74a52c39c305eab
2019-11-10 20:23:58 -08:00
Evgeny Mankov
c5a2a2daf2
[HIPIFY][CUB][ #1460 ][perl] Add "cub::" namespace prefix support in hipify-perl as well
2019-11-01 14:34:18 +03:00
Evgeny Mankov
5dd00bdf52
[HIPIFY] cudaMemcpy2DFromArray(Async) support
2019-10-29 19:12:42 +03:00
Evgeny Mankov
e2191e23e6
[HIPIFY][ #1569 ] Fix
2019-10-22 11:08:37 +03:00
Evgeny Mankov
9633cdbd8a
[HIPIFY][perl] Support of 'using namespace cub'
2019-10-21 17:15:05 +03:00
Rahul Garg
07eed1e5bf
Merge pull request #1550 from yxsamliu/new-launch
...
Add -fhip-new-launch-api to hipcc for HIP/VDI
2019-10-17 19:07:32 -07:00
Rahul Garg
446718f990
Revert "hipcc defaults to code object v3 ( #1298 )"
...
This reverts commit c8f38a139a .
2019-10-17 13:27:28 -04:00
kpyzhov
9773f94c71
[hipcc] Temporary add -D_OPENMP to clang options to workaround cmake issue ( #1540 )
...
* Temporary add -D_OPENMP to clang options in hipcc to allow using CMake OpenMP detection with hip-clang (until updated CMake version is available).
2019-10-16 10:51:28 +05:30
Yaxun (Sam) Liu
739530d53b
Add -fhip-new-launch-api to hipcc for HIP/VDI
2019-10-15 21:47:33 -04:00
Evgeny Mankov
97df38903a
[HIPIFY][CUB] Initial support (hipify-clang only)
...
+ Add one matcher (will be more)
+ Update Maps and Statistics
+ Add cub_01.cu unit test
+ Update lit harness to support standalone CUB
+ Update README.md
+ Update hipify-perl (only CUB header is supported for now)
[IMPORTANT]
clang (and hipify-clang) works correctly only with official NVLabs version on GitHub.
Compilation of CUB from official CUDA release has conflicts with THRUST.
Thus, to compile CUB sources, option "-I" should be specified to the cloned CUB from NVLAB on GitHub.
2019-10-14 11:55:55 +03:00
Evgeny Mankov
0ee069bad7
[HIPIFY][perl] Add "important" notice
...
# IMPORTANT: Do not change this file manually: it is generated by hipify-clang --perl
2019-10-10 18:25:26 +03:00
srinivamd
706e4498e3
remove dependencies on /opt/rocm path ( #1379 )
...
* remove hard coded dependencies on /opt/rocm path
2019-10-10 19:56:55 +05:30
Evgeny Mankov
4a2d87b70c
[HIPIFY][ #1487 ][fix] Translate correctly kernel names prefixed with namespace
...
+ Modify CUDA2HIP_perl for the fix
+ Add ns_kernel_launch.cu test
+ Update hipify-perl by hipify-clang -perl
2019-10-08 15:58:48 +03:00
Evgeny Mankov
59c5220c2f
[HIPIFY] Sync with HIP
...
+ Update hipify-perl accordingly
2019-10-07 14:44:05 +03:00
Evgeny Mankov
201e6deaac
[HIPIFY][SPARSE] sync with hipSPARSE
...
+ Update doc and hipify-perl accordingly
2019-10-05 15:53:04 +03:00
ansurya
96890792b0
Added new Memory API's ( #1399 )
...
Added new memory API's hipMemAllocPitch, hipMemAllocHost, hipMemsetD16, hipMemsetD16Async, hipMemsetD8Async
Modified to support all scenarios hipMemcpyParam2DAsync, hipMemcpyParam2D.
2019-10-04 13:36:31 +05:30
Maneesh Gupta
c8f38a139a
hipcc defaults to code object v3 ( #1298 )
...
Change-Id: I272ec61090fa504d631fb54371a73dd6fd17a167
2019-10-04 13:35:21 +05:30
Evgeny Mankov
94aac73b3b
[HIPIFY] Finishing with generation of hipify-perl
...
+ hipify-perl script is entirely generated by hipify-clang under an option -perl now
+ hipify-perl still has correctness gaps comparing to hipify-clang: they will be eliminated AMAP further
2019-10-03 16:00:52 +03:00
Evgeny Mankov
fee2f0fa78
[HIPIFY] Return to wrapping with HIP_KERNEL_NAME(...) macro of a template instantiation kernel launch
...
[REASON]
1. hip-clang is fine with the templated kernel launch, brackets are unneeded: HIP_KERNEL_NAME(...) __VA_ARGS__
2. HCC is not, thus: HIP_KERNEL_NAME(...) (__VA_ARGS__)
[TODO] Clean-up entirely kernel name wrapping when HCC is finally obsolete.
+ Update perl generation, hipify-perl, and affected tests accordingly.
2019-10-02 16:01:07 +03:00
Evgeny Mankov
8549cc7e1c
Merge pull request #1492 from emankov/master
...
[HIPIFY][#1490 ][fix] Populate the list of supported device atomic functions
2019-10-01 14:00:07 +03:00
Evgeny Mankov
2371150401
[HIPIFY][ #1490 ][fix] Populate the list of supported device atomic functions
...
+ Update hipify-perl accordingly
+ Add atomics.cu test on all atomics
2019-10-01 13:57:46 +03:00
Evgeny Mankov
4a060525d5
Merge pull request #1489 from emankov/master
...
[HIPIFY][perl] Generate transformKernelLaunch
2019-10-01 11:18:41 +03:00
Evgeny Mankov
0d8d0f1ebc
[HIPIFY][perl] Generate transformKernelLaunch
...
+ Update hipify-perl accordingly
+ Minor refactoring
2019-10-01 11:17:27 +03:00
Maneesh Gupta
03c1fb1a8f
Bump version to 2.10 ( #1483 )
...
Change-Id: I22ac0ae723bc537e027306dbb0f1594552fd33a4
2019-10-01 12:39:08 +05:30
Evgeny Mankov
bf5546f35e
[HIPIFY][perl] Generate transformExternShared function
...
+ Update hipify-perl accordingly
2019-09-30 17:47:46 +03:00
Evgeny Mankov
4860559996
[HIPIFY][perl] Generate simpleSubstitutions function
...
+ Update hipify-perl accordingly
2019-09-30 16:53:19 +03:00
Evgeny Mankov
b42a476614
[HIPIFY] Reconcile transformation (statistics) types between hipify-clang and hipify-perl
...
+ Update hipify-perl accordingly
2019-09-29 17:33:37 +03:00
Evgeny Mankov
cdd1888293
[HIPIFY][perl] Code clean-up before continuing generation
2019-09-28 20:44:15 +03:00
Evgeny Mankov
0d36e13ce9
[HIPIFY] Generate more hipify-perl (continuation)
...
+ Minor hipify-perl clean-up
+ Minor CUDA2HIP_Perl refactoring
2019-09-27 19:10:54 +03:00