Граф коммитов

4785 Коммитов

Автор SHA1 Сообщение Дата
Rahul Garg 897b8b48f5 Remove textureObj kernel argument for HIP/HCC path
[ROCm/clr commit: 35bc23ecc3]
2018-03-28 15:36:57 +05:30
Siu Chi Chan 54357260e8 Change constant address space to 4
when compiling with a newer hcc.  This is
due to a recent change to address space
mapping in the amdgpu compiler backend.


[ROCm/clr commit: 53d9cce9f9]
2018-03-26 18:13:59 -04:00
Maneesh Gupta 2d95f5a627 Merge pull request #379 from lmoriche/master
Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename …

[ROCm/clr commit: a95ff17549]
2018-03-26 15:38:02 +05:30
Maneesh Gupta 458e978fb9 [ci] Get CI builds to work again (#377)
* [ci] Enable tests against HCC from ROCm1.7 as well

* [ci] rocm 1.7 requires nodes with dkms label

* [ci] Temporarily drop hcc_1_6 and hcc_1_7 builds


[ROCm/clr commit: e8cc7c2e40]
2018-03-26 15:21:45 +05:30
foreman 7c6bdcb7a7 P4 to Git Change 1531535 by skudchad@skudchad_rocm on 2018/03/23 13:57:49
SWDEV-145570 - [HIP] Add some context* functions. Add context stack.

Affected files ...

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


[ROCm/clr commit: bdd5200cfa]
2018-03-23 14:18:27 -04:00
foreman ebec35b469 P4 to Git Change 1531138 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/23 00:10:40
SWDEV-145570 - [HIP] Module
	Check for correct device id in hipDeviceGetAttribute
	Implement hipModuleLoad
	Handle kernelParams in hipModuleLaunchKernel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#3 edit


[ROCm/clr commit: c531507708]
2018-03-23 00:19:22 -04:00
Laurent Morichetti 941fb5f336 Merge remote-tracking branch 'upstream/master'
[ROCm/clr commit: 8f4c368dce]
2018-03-21 11:17:52 -07:00
Laurent Morichetti 048ffb1693 Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr.
[ROCm/clr commit: 84a723b2dc]
2018-03-21 11:07:21 -07:00
foreman fd7d6cb866 P4 to Git Change 1528961 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/19 13:43:08
SWDEV-145570 - Contexts
	Create one amd::Context per device
	g_context is now thread's current context
	HIP doesn't want more than one context per device so we always use the primary one

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#4 edit


[ROCm/clr commit: fe3f2b7e5d]
2018-03-19 13:52:17 -04:00
Rahul Garg ec51e3c539 Removed hidden args and hipLaunchParm from HIP/HCC path
[ROCm/clr commit: 2184e7f6da]
2018-03-16 22:50:25 +05:30
Rahul Garg 0a8ae7a07d Change co file name
[ROCm/clr commit: da66236083]
2018-03-16 12:54:44 +05:30
Rahul Garg c2f4352aad Fixed function not found issue
[ROCm/clr commit: 2ff9e5d46d]
2018-03-16 12:35:25 +05:30
Maneesh Gupta 05a7963b07 Merge pull request #372 from scchan/fix_hipcc_rhel
On RHEL and CentOS, don't use libc++ since we are using the devtoolse…

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

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

[ROCm/clr commit: b0464ab365]
2018-03-15 06:05:11 +05:30
Maneesh Gupta 37cacf5495 Merge pull request #368 from mangupta/apply_clangformat
Apply .clangformat to all repo source files

[ROCm/clr commit: 783a1cd614]
2018-03-15 06:04:43 +05:30
foreman 27f5bd6d76 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/clr commit: 41c27a9e24]
2018-03-14 19:05:10 -04:00
Maneesh Gupta 64a26e0113 [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/clr commit: 4b5526e0ba]
2018-03-14 15:24:15 +05:30
Maneesh Gupta f9d995ee1b Add lpl and ca binaries to hip_base package
Change-Id: Ie05669768dfd086a89bcf4aad134f4b425d1e21c


[ROCm/clr commit: e8f1aeb764]
2018-03-14 11:42:36 +05:30
foreman fcccf63e90 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/clr commit: df8dfbd060]
2018-03-13 12:33:01 -04: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
Rahul Garg 83fac92815 Set offset value to 0
[ROCm/clr commit: c3d786d810]
2018-03-11 00:12:22 +05:30
Maneesh Gupta ecbb701440 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support

[ROCm/clr commit: eee7fa6072]
2018-03-09 11:50:30 +05:30
foreman f45c2eb542 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/clr commit: 336d1e589c]
2018-03-07 20:03:36 -05:00
Maneesh Gupta 72a9e630f8 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc

[ROCm/clr commit: 72ec13ab86]
2018-03-06 11:59:44 +05:30
Maneesh Gupta 274c65457e Merge pull request #288 from AlexVlx/feature_purge_genco
Purge hsagenco.sh

[ROCm/clr commit: 1190a9e5d0]
2018-03-05 09:59:56 +05:30
Rahul Garg 5f63267327 Add surface object API 2D test
[ROCm/clr commit: 919eb74a93]
2018-03-04 22:49:23 +05:30
Rahul Garg 10ee7a6a80 Fixed byte offset issue
Added HIP/NVCC support


[ROCm/clr commit: d2426e1b9a]
2018-03-04 19:05:37 +05:30
foreman 59e45d40e8 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/clr commit: 73fec7a0fa]
2018-03-03 21:02:59 -05:00
foreman d8f628753c 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/clr commit: f27e6709eb]
2018-03-02 17:55:48 -05:00
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
foreman b84cfe7b08 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/clr commit: 13f4e897fc]
2018-03-01 22:57:20 -05:00
Alex Voicu 7f8411f93f Update CMakeLists.txt
[ROCm/clr commit: fa0bff8f78]
2018-03-01 16:06:09 +00:00
Rahul Garg 685260a08a Added hip_surface header file
[ROCm/clr commit: 7c50ae3b04]
2018-03-01 12:22:56 +05:30
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 6b6ed7cd66 Fixes a build error with hcc
[ROCm/clr commit: 70dad80383]
2018-02-28 14:12:09 -08:00
Laurent Morichetti 18db0b1905 Add initial support for clang
[ROCm/clr commit: 73dd7f0e05]
2018-02-28 12:31:26 -08:00
foreman 0822309281 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/clr commit: 85724dd2e4]
2018-02-27 18:38:56 -05:00
Rahul Garg 7272f1608c Added surface object support
[ROCm/clr commit: 92283d24d0]
2018-02-26 11:59:03 +05:30
Alex Voicu c4d704b2ad Change directory name to match HIP lowercase style.
[ROCm/clr commit: 696f0595a3]
2018-02-22 13:15:10 +00:00
Alex Voicu 4e8e090839 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco
[ROCm/clr commit: 1563d53c92]
2018-02-22 12:08:52 +00:00
Siu Chi Chan 9fddf100b7 make HIP to load the GPU objects and to setup the function symbol map on startup
[ROCm/clr commit: 0ca9591e55]
2018-02-18 14:26:44 -05:00
foreman 41fed64377 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/clr commit: ce7a19fa55]
2018-02-14 15:08:01 -05:00
Maneesh Gupta b73c021c8f Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc

[ROCm/clr commit: 60bda80014]
2018-02-14 12:47:23 +05:30
Maneesh Gupta 9c0ab85b68 Merge pull request #358 from mangupta/clangformat
[build] Add clangformat target to cmake

[ROCm/clr commit: f30a581183]
2018-02-14 09:16:14 +05:30
Maneesh Gupta e24c6ff5f9 [dtests] Fix HIT block in hipPeerToPeer_simple.cpp
[ROCm/clr commit: cd71f55fd7]
2018-02-14 09:13:50 +05:30
foreman b15a34e3f4 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/clr commit: 7c3a1335d3]
2018-02-13 19:45:32 -05:00
Alex Voicu e2c8b8c9ef Missing merge.
[ROCm/clr commit: 4fadfae944]
2018-02-12 20:21:37 +00:00
Alex Voicu eab8624938 Re-sync with upstream.
[ROCm/clr commit: a704bd8b44]
2018-02-12 20:20:24 +00:00