Siu Chi Chan
1436897785
Compile HIP runtime with hidden visibility by default ( #1303 )
...
* add default visibility to most APIs in program_state
* remove unwanted C++ headers
* Add symbol visibility pragmas and compiler flags
* Add visibility attribute to APIs in channel_descriptor and hip_hcc
* remove unused headers
* simplify build flags with hcc
* add pragma visibility hidden to functional_grid_launch
* [CMake] add gfx908 back
[ROCm/clr commit: 3cf2d7d385 ]
2019-08-08 08:33:04 +00:00
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
Laurent Morichetti
ee4473f588
__CUDA__ and __HIP__ are both defined when compiling with 'clang -x hip', so make sure __HIP__ is not defined in the case of __HIP_PLATFORM_NVCC__.
...
[ROCm/clr commit: 49f819ab9e ]
2018-03-02 06:51:51 -08:00
Laurent Morichetti
af04673cd5
Use __HIP__ instead of __HIPCC__, and __CUDA__ instead of __CUDACC__
...
[ROCm/clr commit: 3251d129ef ]
2018-02-28 14:20:55 -08:00
Laurent Morichetti
18db0b1905
Add initial support for clang
...
[ROCm/clr commit: 73dd7f0e05 ]
2018-02-28 12:31:26 -08:00
Aditya Atluri
3651cb672a
added new api hipHccModuleLaunchKernel
...
1. hipHccModuleLaunchKernel is same as hipModuleLaunchKernel with OpenCL workitem model
2. Added copy right
3. Fixed header naming
Change-Id: I6a7c35a3566e2f8d3f5056613e34193775d4b236
[ROCm/clr commit: 1cead6a4cd ]
2017-03-31 12:11:34 -05:00
pensun
a49f5c7e1d
update porting guide for updated __HIP_DEVICE_COMPILE__
...
Change-Id: I0f025d354f76e2d728231bf112a77e8c8fcacc8c
[ROCm/clr commit: 1a2844e3a3 ]
2017-03-10 10:01:12 -06:00
pensun
077e789db5
Define __HIPCC__ flag at compile time when using HIPCC on HCC path
...
Change-Id: I5e967e0e2327264d5d3b0ca705c2504fcd33d75e
[ROCm/clr commit: be95cc914f ]
2017-02-28 16:20:48 -06:00
pensun
72f8c29529
remove extra spaces for hip_common.h platform defines
...
Change-Id: Ie0e39256abba307429985371671cde01f5ea2cc9
[ROCm/clr commit: c5ae8c423a ]
2017-02-27 12:55:22 -06:00
Aditya Atluri
ba96b2f6c8
changed copyright year from 2016 to 2017 in include directory
...
Change-Id: Ib5935a84fb51a04b3446df31cc2287101f791b83
[ROCm/clr commit: 7dbf63dde2 ]
2017-01-11 18:09:33 -06:00
Maneesh Gupta
46feb7dcf2
Move include/* to include/hip/*
...
Change-Id: I7a7b2839b4df59c7a4c503550f99fdc9e45c0f54
[ROCm/clr commit: bbfc08f419 ]
2016-10-04 22:17:18 +05:30