Commit Graph

5318 Commits

Author SHA1 Message Date
Rahul Garg 9097b1b2df Fixed function not found issue
[ROCm/hip commit: a1b608bf0d]
2018-03-16 12:35:25 +05:30
Maneesh Gupta 87ff5fbd2e Merge pull request #372 from scchan/fix_hipcc_rhel
On RHEL and CentOS, don't use libc++ since we are using the devtoolse…

[ROCm/hip commit: b4175c8ee6]
2018-03-16 07:44:40 +05:30
Maneesh Gupta 190c598d11 Merge pull request #367 from gargrahul/fix_tex_drv_offset
Fix offset issue in texture driver APIs 

[ROCm/hip commit: f2a9f8eec3]
2018-03-16 07:43:48 +05:30
Siu Chi Chan b7fb235738 On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++
[ROCm/hip commit: 52a91d7c3a]
2018-03-15 16:46:01 -04:00
Maneesh Gupta 029c86b600 Merge pull request #369 from mangupta/update_hip_base_packaging
Add lpl and ca binaries to hip_base package

[ROCm/hip commit: 0477eb28e4]
2018-03-15 06:05:11 +05:30
Maneesh Gupta 7de5eafedc Merge pull request #368 from mangupta/apply_clangformat
Apply .clangformat to all repo source files

[ROCm/hip commit: 10785989d7]
2018-03-15 06:04:43 +05:30
foreman 4258602dae P4 to Git Change 1527320 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/14 18:54:10
SWDEV-145570 - Remove all g_context from runtime device implementation

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#3 edit


[ROCm/hip commit: a78a9b0350]
2018-03-14 19:05:10 -04:00
Maneesh Gupta 646044b4bc Merge pull request #371 from ROCm-Developer-Tools/mangupta-patch-1
[ci] Continue testing against ROCm 1.6

[ROCm/hip commit: bc7cb9827f]
2018-03-14 15:39:50 +05:30
Maneesh Gupta de29315220 [ci] Continue testing against ROCm 1.6
Continue testing against ROCm 1.6.4 until we have a stable ROCm 1.7.x docker image

[ROCm/hip commit: 5ca7a4ff72]
2018-03-14 15:24:15 +05:30
Maneesh Gupta 2778707cb4 Add lpl and ca binaries to hip_base package
Change-Id: Ie05669768dfd086a89bcf4aad134f4b425d1e21c


[ROCm/hip commit: 5c65f260eb]
2018-03-14 11:42:36 +05:30
foreman 1113d554f0 P4 to Git Change 1526407 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/13 12:24:51
SWDEV-145570 - [HIP] Separate device runtime and driver APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#1 add


[ROCm/hip commit: 22aeb7f4f3]
2018-03-13 12:33:01 -04:00
Jenkins 57d5089f61 Merge 'master' into 'amd-master'
Change-Id: I214887e5eb990b58bde1da3f87eaa77cd22ba9cb


[ROCm/hip commit: 3d3e754b85]
2018-03-13 04:10:02 -05: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
Rahul Garg 1698505e96 Set offset value to 0
[ROCm/hip commit: b62a8d2ba0]
2018-03-11 00:12:22 +05:30
Maneesh Gupta 52506ef382 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support

[ROCm/hip commit: 18e70b1e6b]
2018-03-09 11:50:30 +05:30
foreman 798d68d6e5 P4 to Git Change 1524135 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/07 19:52:00
SWDEV-145570 - [HIP] Hip Rearchitecture
	Implemented hipHostAlloc

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#5 edit


[ROCm/hip commit: f99db275fe]
2018-03-07 20:03:36 -05:00
Jenkins d82cfa5860 Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640


[ROCm/hip commit: 7532a86fdb]
2018-03-06 04:09:57 -06:00
Maneesh Gupta 04d5d19857 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc

[ROCm/hip commit: 7cdbb9fa91]
2018-03-06 11:59:44 +05:30
Maneesh Gupta d08f7dccbd Merge pull request #288 from AlexVlx/feature_purge_genco
Purge hsagenco.sh

[ROCm/hip commit: 1e13ebd992]
2018-03-05 09:59:56 +05:30
Rahul Garg cffcc4d85e Add surface object API 2D test
[ROCm/hip commit: bca07f4f60]
2018-03-04 22:49:23 +05:30
Rahul Garg 413c9ac9cb Fixed byte offset issue
Added HIP/NVCC support


[ROCm/hip commit: d697739d57]
2018-03-04 19:05:37 +05:30
foreman 5773ceb4fd P4 to Git Change 1522302 by skudchad@skudchad_test2_win_opencl on 2018/03/03 20:41:25
SWDEV-145570 - [HIP] - Hip Rearchitecture
	- Implemented most of device* functions

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14340/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#4 edit


[ROCm/hip commit: cd4f8ccac9]
2018-03-03 21:02:59 -05:00
foreman e367e8578b P4 to Git Change 1522211 by lmoriche@lmoriche_opencl_dev2 on 2018/03/02 17:41:47
SWDEV-145570 - [HIP] - Hip Rearchitecture
	- Rename cuda* launch functions -> hip*
	- Add more function prototypes to compile the HIP tests

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#1 add


[ROCm/hip commit: d8a344113f]
2018-03-02 17:55:48 -05:00
lmoriche 7b9a0a5312 Merge pull request #365 from lmoriche/master
__CUDA__ and __HIP__ are both defined when compiling with 'clang -x h…

[ROCm/hip commit: 8840e34f0d]
2018-03-02 09:26:22 -08:00
Laurent Morichetti f18bee421c __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/hip commit: 0d45c1d2d3]
2018-03-02 06:51:51 -08:00
Jenkins b14fdeb6ad Merge 'master' into 'amd-master'
Change-Id: I46fe6af22c7dc8499825043bd41148749dd2229e


[ROCm/hip commit: 49eabda0c6]
2018-03-02 04:10:00 -06:00
foreman 2ea1740b98 P4 to Git Change 1521675 by lmoriche@lmoriche_opencl_dev2 on 2018/03/01 22:50:06
SWDEV-145570 - [HIP] - Hip Rearchitecture
	- Add initial prototype implementation

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/Makefile#11 edit
... //depot/stg/opencl/drivers/opencl/api/hip/fixme.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_error.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.rc#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#1 add


[ROCm/hip commit: 73cb309e2b]
2018-03-01 22:57:20 -05:00
Ben Sander 9659bf1770 Merge pull request #364 from lmoriche/master
Add initial support for clang

[ROCm/hip commit: c0a50e30db]
2018-03-01 11:58:08 -06:00
Alex Voicu fff7409a48 Update CMakeLists.txt
[ROCm/hip commit: 75840b4b00]
2018-03-01 16:06:09 +00:00
Rahul Garg ccc0a66788 Added hip_surface header file
[ROCm/hip commit: 0057dbca83]
2018-03-01 12:22:56 +05:30
Laurent Morichetti 12e8f48181 Use __HIP__ instead of __HIPCC__, and __CUDA__ instead of __CUDACC__
[ROCm/hip commit: 6536164914]
2018-02-28 14:20:55 -08:00
Laurent Morichetti b32680706c Fixes a build error with hcc
[ROCm/hip commit: 2bc7adfa62]
2018-02-28 14:12:09 -08:00
Laurent Morichetti 69f5dc0883 Add initial support for clang
[ROCm/hip commit: f8b0c96462]
2018-02-28 12:31:26 -08:00
foreman 26eb51f814 P4 to Git Change 1520507 by skudchad@skudchad_test2_win_opencl on 2018/02/27 18:32:09
SWDEV-145570 - Populate some HIP Device Management functions.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14310/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#1 add


[ROCm/hip commit: 4fd1eb28eb]
2018-02-27 18:38:56 -05:00
Rahul Garg ff74aadd87 Added surface object support
[ROCm/hip commit: 5c3b91a0a1]
2018-02-26 11:59:03 +05:30
Alex Voicu 717a01660a Change directory name to match HIP lowercase style.
[ROCm/hip commit: dc7560ef22]
2018-02-22 13:15:10 +00:00
Alex Voicu 7f9c1eab10 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/hip commit: 49ef24c042]
2018-02-22 12:08:52 +00:00
Jenkins 4664e359fd Merge 'master' into 'amd-master'
Change-Id: Ib1251a94fa5c1d242d2cdd89341fbdc33644cf41


[ROCm/hip commit: 55636f0dd2]
2018-02-20 04:09:51 -06:00
Maneesh Gupta e3d7a36046 Merge pull request #361 from scchan/load_startup2
load the GPU objects and setup the function symbol map on startup

[ROCm/hip commit: 1f0ad7e54c]
2018-02-20 12:27:41 +05:30
Siu Chi Chan afc71e3bad make HIP to load the GPU objects and to setup the function symbol map on startup
[ROCm/hip commit: ebc92e5975]
2018-02-18 14:26:44 -05:00
foreman 7cc42aa709 P4 to Git Change 1516173 by skudchad@skudchad_rocm on 2018/02/14 15:02:45
SWDEV-145570 -  Initial hip api checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#2 edit


[ROCm/hip commit: 37faef47ba]
2018-02-14 15:08:01 -05:00
Maneesh Gupta b3ce8d8519 Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc

[ROCm/hip commit: f4bd708c7e]
2018-02-14 12:47:23 +05:30
Maneesh Gupta ed8ec5f15a Merge pull request #358 from mangupta/clangformat
[build] Add clangformat target to cmake

[ROCm/hip commit: 04ec70e52c]
2018-02-14 09:16:14 +05:30
Maneesh Gupta cb9b6d3613 [dtests] Fix HIT block in hipPeerToPeer_simple.cpp
[ROCm/hip commit: 2ff55124fa]
2018-02-14 09:13:50 +05:30
foreman ec5982e1c8 P4 to Git Change 1515837 by skudchad@skudchad_rocm on 2018/02/13 19:37:06
SWDEV-145570 -  Initial hip api checkin

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/Makefile#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#1 add


[ROCm/hip commit: 2ed585ec08]
2018-02-13 19:45:32 -05:00
Alex Voicu 64fc905d32 Missing merge.
[ROCm/hip commit: 9526e05732]
2018-02-12 20:21:37 +00:00
Alex Voicu 3afca75a71 Re-sync with upstream.
[ROCm/hip commit: baf50a5311]
2018-02-12 20:20:24 +00:00
Maneesh Gupta d4a4a8a1c1 Merge pull request #321 from gargrahul/hipMemcpyArray_Functions
Added support for hipMemcpy Array functions-

[ROCm/hip commit: 4b8ae78891]
2018-02-12 10:36:38 +05:30
Maneesh Gupta 00aeb8514f [build] Add clangformat target to cmake
- Added a new target "clangformat" which formats the code using the
  clang-format tool found in HCC package.
- Renamed target "static_check" to "cppcheck".
- Use find_program() macro to make the build system more robust.

Change-Id: Ifefbf36f23ff7ef27a870120d5b9170d0cc8aa52


[ROCm/hip commit: 1e559d19c3]
2018-02-12 10:21:27 +05:30
Maneesh Gupta 263e0e2c3f Merge pull request #350 from gargrahul/fix_module_host_global_symbol
Fixed host allocated globals address lookup for host usage

[ROCm/hip commit: 2dc315efc8]
2018-02-12 10:13:49 +05:30