Commit Graph

5790 Commits

Author SHA1 Message Date
Maneesh Gupta 1bfdfecb59 Merge pull request #386 from ROCm-Developer-Tools/mangupta-patch-4
[ci] Re-enable testing against hcc_1.7
2018-04-04 10:01:41 +05:30
Maneesh Gupta 11eaac9cf4 [ci] Re-enable testing against hcc_1.7 2018-04-03 14:04:33 +05:30
Rahul Garg 414cb24351 Fix texture driver api TRFS flags 2018-04-02 21:47:20 +05:30
Yaxun (Sam) Liu 0e1ae245d2 Update HIP language spec to support both <<< >>> kernel launching mechanism and hipLaunchKernel 2018-04-02 11:58:32 -04:00
foreman 9504ce2bc4 P4 to Git Change 1534798 by cpaquot@cpaquot-ocl-lc-lnx on 2018/03/30 00:56:35
SWDEV-145570 - [HIP] Implemented hipStream create/destroy
	Use the provided stream in hipModuleLaunchKernel

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#2 edit
2018-03-30 01:06:00 -04:00
foreman 416cba1233 P4 to Git Change 1534050 by lmoriche@lmoriche_opencl_dev2 on 2018/03/28 19:09:26
SWDEV-145570 - Add support for clang offload bundles

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#3 edit
2018-03-28 19:23:57 -04:00
Rahul Garg 35bc23ecc3 Remove textureObj kernel argument for HIP/HCC path 2018-03-28 15:36:57 +05:30
Jenkins 43082564bc Merge 'master' into 'amd-master'
Change-Id: I0f076ee4d0d5a725856f689383600820544bde18
2018-03-27 04:10:07 -05:00
Maneesh Gupta c1505becef Merge pull request #382 from scchan/fix_texture_addr_space
Change constant address space to 4
2018-03-27 07:48:50 +05:30
Siu Chi Chan 53d9cce9f9 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.
2018-03-26 18:13:59 -04:00
Maneesh Gupta a95ff17549 Merge pull request #379 from lmoriche/master
Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename …
2018-03-26 15:38:02 +05:30
Maneesh Gupta e8cc7c2e40 [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
2018-03-26 15:21:45 +05:30
foreman bdd5200cfa 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
2018-03-23 14:18:27 -04:00
foreman c531507708 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
2018-03-23 00:19:22 -04:00
Laurent Morichetti 8f4c368dce Merge remote-tracking branch 'upstream/master' 2018-03-21 11:17:52 -07:00
Laurent Morichetti 84a723b2dc Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr. 2018-03-21 11:07:21 -07:00
Jenkins 8af72e8ce7 Merge 'master' into 'amd-master'
Change-Id: I42f0b83d11945fc03fb75f4a553c37f9f42f28a4
2018-03-20 04:10:00 -05:00
foreman fe3f2b7e5d 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
2018-03-19 13:52:17 -04:00
Maneesh Gupta 51ed222aa4 Merge pull request #373 from gargrahul/fix_function_not_found_tex_drv_sample
Fixed function not found issue in texture driver api sample
2018-03-19 14:11:28 +05:30
Rahul Garg 2184e7f6da Removed hidden args and hipLaunchParm from HIP/HCC path 2018-03-16 22:50:25 +05:30
Jenkins 6c39e1561c Merge 'master' into 'amd-master'
Change-Id: If86cc472ef0330ab9f8c19e68cb6fcf83b502d16
2018-03-16 04:10:29 -05:00
Rahul Garg da66236083 Change co file name 2018-03-16 12:54:44 +05:30
Rahul Garg 2ff9e5d46d Fixed function not found issue 2018-03-16 12:35:25 +05:30
Maneesh Gupta eabd89f130 Merge pull request #372 from scchan/fix_hipcc_rhel
On RHEL and CentOS, don't use libc++ since we are using the devtoolse…
2018-03-16 07:44:40 +05:30
Maneesh Gupta c50f3caf5e Merge pull request #367 from gargrahul/fix_tex_drv_offset
Fix offset issue in texture driver APIs
2018-03-16 07:43:48 +05:30
Siu Chi Chan 0501f6c582 On RHEL and CentOS, don't use libc++ since we are using the devtoolset-7 which has a newer g++ 2018-03-15 16:46:01 -04:00
Maneesh Gupta b0464ab365 Merge pull request #369 from mangupta/update_hip_base_packaging
Add lpl and ca binaries to hip_base package
2018-03-15 06:05:11 +05:30
Maneesh Gupta 783a1cd614 Merge pull request #368 from mangupta/apply_clangformat
Apply .clangformat to all repo source files
2018-03-15 06:04:43 +05:30
foreman 41c27a9e24 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
2018-03-14 19:05:10 -04:00
Maneesh Gupta 3bc46613d7 Merge pull request #371 from ROCm-Developer-Tools/mangupta-patch-1
[ci] Continue testing against ROCm 1.6
2018-03-14 15:39:50 +05:30
Maneesh Gupta 4b5526e0ba [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
2018-03-14 15:24:15 +05:30
Maneesh Gupta e8f1aeb764 Add lpl and ca binaries to hip_base package
Change-Id: Ie05669768dfd086a89bcf4aad134f4b425d1e21c
2018-03-14 11:42:36 +05:30
foreman df8dfbd060 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
2018-03-13 12:33:01 -04:00
Jenkins 95deeffc67 Merge 'master' into 'amd-master'
Change-Id: I214887e5eb990b58bde1da3f87eaa77cd22ba9cb
2018-03-13 04:10:02 -05:00
Maneesh Gupta 9e47fccc89 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg c3d786d810 Set offset value to 0 2018-03-11 00:12:22 +05:30
Maneesh Gupta eee7fa6072 Merge pull request #363 from gargrahul/surface_object_api
Added surface object support
2018-03-09 11:50:30 +05:30
foreman 336d1e589c 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
2018-03-07 20:03:36 -05:00
Jenkins 5138d7ab41 Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640
2018-03-06 04:09:57 -06:00
Maneesh Gupta 72ec13ab86 Merge pull request #287 from ROCm-Developer-Tools/fix_llc_path
Change hipconfig to adopt new location of llc
2018-03-06 11:59:44 +05:30
Maneesh Gupta 1190a9e5d0 Merge pull request #288 from AlexVlx/feature_purge_genco
Purge hsagenco.sh
2018-03-05 09:59:56 +05:30
Rahul Garg 919eb74a93 Add surface object API 2D test 2018-03-04 22:49:23 +05:30
Rahul Garg d2426e1b9a Fixed byte offset issue
Added HIP/NVCC support
2018-03-04 19:05:37 +05:30
foreman 73fec7a0fa 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
2018-03-03 21:02:59 -05:00
foreman f27e6709eb 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
2018-03-02 17:55:48 -05:00
lmoriche c9903c7295 Merge pull request #365 from lmoriche/master
__CUDA__ and __HIP__ are both defined when compiling with 'clang -x h…
2018-03-02 09:26:22 -08:00
Laurent Morichetti 49f819ab9e __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__. 2018-03-02 06:51:51 -08:00
Jenkins 8cc745c7c7 Merge 'master' into 'amd-master'
Change-Id: I46fe6af22c7dc8499825043bd41148749dd2229e
2018-03-02 04:10:00 -06:00
foreman 13f4e897fc 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
2018-03-01 22:57:20 -05:00
Ben Sander 8631c5433b Merge pull request #364 from lmoriche/master
Add initial support for clang
2018-03-01 11:58:08 -06:00