Commit Graph

5048 Commits

Author SHA1 Message Date
Laurent Morichetti 0c1893ea62 Add support for clang offload bundles and <<<>>> kernel launch. 2018-04-04 13:32:33 -07:00
foreman 4574e01740 P4 to Git Change 1536698 by skudchad@skudchad_test2_win_opencl on 2018/04/04 13:18:19
SWDEV-145570 - [HIP] -  Add HIP Memory api skeletons

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#6 edit
2018-04-04 13:24:15 -04:00
Maneesh Gupta b2c5f7a3e9 Merge pull request #387 from mangupta/cleanup_bin
Cleanup bin directory
2018-04-04 15:06:57 +05:30
Jenkins 868d8cda0c Merge 'master' into 'amd-master'
Change-Id: I94e342dc62a1c3a36ef9de4f10d508af429bcdf6
2018-04-04 04:10:04 -05:00
Maneesh Gupta 228fae1224 Cleanup bin directory
Remove hccgenco.sh and hsa-api-filter-cxl.txt

Change-Id: I5942aec911a2fe6c871fe0eb5f44a0b243552b79
2018-04-04 14:31:40 +05:30
Maneesh Gupta 0785e75150 Merge pull request #383 from gargrahul/remove_hcc_check_texref_sample
Remove textureObj kernel argument for HIP/HCC path
2018-04-04 10:35:58 +05:30
Maneesh Gupta 860249194a Merge pull request #384 from yxsamliu/patch-1
Update HIP language spec to support both <<< >>> kernel launching mec…
2018-04-04 10:35:34 +05:30
Maneesh Gupta fdcc6558f4 Merge pull request #385 from gargrahul/fix_texture_trsf_flag
Fix texture driver api TRFS flags
2018-04-04 10:34:09 +05:30
Maneesh Gupta 69e1185ee7 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 d9cb38c764 [ci] Re-enable testing against hcc_1.7 2018-04-03 14:04:33 +05:30
Rahul Garg 62fc6c85e0 Fix texture driver api TRFS flags 2018-04-02 21:47:20 +05:30
Yaxun (Sam) Liu cf78d85638 Update HIP language spec to support both <<< >>> kernel launching mechanism and hipLaunchKernel 2018-04-02 11:58:32 -04:00
foreman dd4b380661 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 01c8c585f4 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 017a6fb059 Remove textureObj kernel argument for HIP/HCC path 2018-03-28 15:36:57 +05:30
Jenkins cd15e9dc4d Merge 'master' into 'amd-master'
Change-Id: I0f076ee4d0d5a725856f689383600820544bde18
2018-03-27 04:10:07 -05:00
Maneesh Gupta 0b25a2cb40 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 0d8b97274a 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 dbd818c4bd 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 21e0adc700 [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 a2b71e69ef 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 8e99c0960b 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 a5e04c9706 Merge remote-tracking branch 'upstream/master' 2018-03-21 11:17:52 -07:00
Laurent Morichetti a06b21c500 Add HIP_KERNEL_NAME/HIP_SYMBOL definitions for HIP-clang, and rename hipLaunch->hipLaunchByPtr. 2018-03-21 11:07:21 -07:00
Jenkins efc60c0545 Merge 'master' into 'amd-master'
Change-Id: I42f0b83d11945fc03fb75f4a553c37f9f42f28a4
2018-03-20 04:10:00 -05:00
foreman 96c3777e30 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 fe3e3dd09a 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 ed2d4ddfc7 Removed hidden args and hipLaunchParm from HIP/HCC path 2018-03-16 22:50:25 +05:30
Jenkins 39ddba4e0c Merge 'master' into 'amd-master'
Change-Id: If86cc472ef0330ab9f8c19e68cb6fcf83b502d16
2018-03-16 04:10:29 -05:00
Rahul Garg be25556aed Change co file name 2018-03-16 12:54:44 +05:30
Rahul Garg a1b608bf0d Fixed function not found issue 2018-03-16 12:35:25 +05:30
Maneesh Gupta b4175c8ee6 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 f2a9f8eec3 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 52a91d7c3a 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 0477eb28e4 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 10785989d7 Merge pull request #368 from mangupta/apply_clangformat
Apply .clangformat to all repo source files
2018-03-15 06:04:43 +05:30
foreman a78a9b0350 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 bc7cb9827f 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 5ca7a4ff72 [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 5c65f260eb Add lpl and ca binaries to hip_base package
Change-Id: Ie05669768dfd086a89bcf4aad134f4b425d1e21c
2018-03-14 11:42:36 +05:30
foreman 22aeb7f4f3 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 3d3e754b85 Merge 'master' into 'amd-master'
Change-Id: I214887e5eb990b58bde1da3f87eaa77cd22ba9cb
2018-03-13 04:10:02 -05:00
Maneesh Gupta 1ba06f63c4 Apply .clangformat to all repo source files
Change-Id: I7e79c6058f0303f9a98911e3b7dd2e8596079344
2018-03-12 11:29:03 +05:30
Rahul Garg b62a8d2ba0 Set offset value to 0 2018-03-11 00:12:22 +05:30
Maneesh Gupta 18e70b1e6b Merge pull request #363 from gargrahul/surface_object_api
Added surface object support
2018-03-09 11:50:30 +05:30
foreman f99db275fe 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 7532a86fdb Merge 'master' into 'amd-master'
Change-Id: I0e7a393879d921e589a81e97fa900d9733c56640
2018-03-06 04:09:57 -06:00
Maneesh Gupta 7cdbb9fa91 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 1e13ebd992 Merge pull request #288 from AlexVlx/feature_purge_genco
Purge hsagenco.sh
2018-03-05 09:59:56 +05:30
Rahul Garg bca07f4f60 Add surface object API 2D test 2018-03-04 22:49:23 +05:30