Maneesh Gupta
e5ee180568
Merge branch 'amd-master' into amd-master-next
...
Change-Id: I3094c15008093f2072bcd38aca4ea90aeae2d97b
[ROCm/clr commit: 0ea6697192 ]
2020-04-09 06:31:00 -04:00
Rahul Garg
cf648f7dbe
Rename hip/hip_hcc.h to hip/hip_ext.h ( #1341 )
...
* Rename hip/hip_hcc.h to hip/hip_ext.h
* Deprecate hip_hcc.h
[ROCm/clr commit: dfee3ae279 ]
2019-11-07 13:17:10 +05:30
Rahul Garg
6641c0dc94
Add support for hipFuncGetAttribute ( #1279 )
...
* Add support for hipFunGetAttribute
* Support NVCC path
* Test using sample module_api_global
* Try fixing CI build failure due to hip_prof_gen scan
* Fix for CI build issue
* Resolve conflict
* Rebase and resolve conflicts with master
* Fix build error
* Fix NVCC path build error
[ROCm/clr commit: 8b6317d041 ]
2019-08-08 08:27:41 +00:00
Yaxun Sam Liu
79c6028768
Fix sample module_api_global for hip-clang
...
module_api_global relies on a HCC only feature which allows host code
to write to device variables. This feature does not exist in CUDA
or hip-clang, which causes the sample not working in CUDA or hip-clang.
This patch fixes the sample by using standard features of CUDA and
hip-clang. The fixed sample works in HCC, CUDA and hip-clang.
[ROCm/clr commit: 98648828c0 ]
2019-07-02 16:36:53 -04:00
Rahul Garg
ebd29537d0
Add cleanup code in module api samples
...
[ROCm/clr commit: 49ac54abde ]
2019-06-07 05:23:11 +05:30
Evgeny Mankov
fef3e849eb
[HIP][tests] Copyright notice update
...
[ROCm/clr commit: 7664560f14 ]
2019-05-20 18:46:23 +03:00
Rahul Garg
19d2ff51c8
Test hipModuleGetGlobal
...
[ROCm/clr commit: 46346343af ]
2019-03-15 04:08:03 +05:30
Rahul Garg
1f0d24fa61
Clean up module api samples
...
[ROCm/clr commit: b6c5d7d71b ]
2018-08-08 22:28:13 +05:30
Maneesh Gupta
46ddefedee
Apply .clangformat to all repo source files
...
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
[ROCm/clr commit: 9e47fccc89 ]
2018-03-12 11:29:03 +05:30
Alex Voicu
aa48cc7b55
This introduces LipoProteinLipase (lpl), a simple tool for creating fat binaries. It represents a direct replacement of the creaky hccgenco.sh script, which had various issues. The format it uses is that of a code object bundle, generated by the Clang Offload Bundler. The output is always suffixed with the ".adipose" extension. It is shared with HCC. The hipcc script and associated tests are modified to use lpl. Help can be obtained by invoking lpl --help. A more computer-sciency / corporate friendly name is likely to be beneficial, which is a reason for choosing easily searchable/replaceable names such as lpl or adipose.
...
[ROCm/clr commit: 4e0739c68a ]
2017-12-08 04:22:57 +00:00
Rahul Garg
28c72504b6
Example showing globals use with module APIs
...
[ROCm/clr commit: 10b1b58505 ]
2017-10-24 18:12:25 +05:30