Maneesh Gupta
d945c85fa7
Merge pull request #388 from lmoriche/master
...
Add support for clang offload bundles and <<<>>> kernel launch.
2018-04-09 12:40:28 +05:30
Maneesh Gupta
445de66560
hipMemcpyAsync returns success when trying to copy 0 bytes
...
Change-Id: I4c0ee7ccc7563e2df657b50356cdd7fec9a1ef15
2018-04-09 12:39:44 +05:30
Maneesh Gupta
04f116a9e8
[ci] Disable nvcc CI builds
2018-04-09 12:23:56 +05:30
Maneesh Gupta
e5b14cd918
Merge pull request #389 from scchan/adjust_texture_hcc_workweek
...
adjust the hcc work week for the texture fix
2018-04-09 10:54:16 +05:30
foreman
03a6601214
P4 to Git Change 1537729 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/06 17:59:29
...
SWDEV-145570 - [HIP] Use Svm path for both hipMalloc and hipHostMalloc
Make sure hipMemCpy uses SvmBuffer to fetch the cl_mem
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#8 edit
2018-04-06 18:08:18 -04:00
Siu Chi Chan
5df923cdfa
adjust the hcc work week for the texture fix
2018-04-06 15:46:55 -04:00
Laurent Morichetti
7f03ff1012
Don't include __clang_cuda_builtin_vars.h
2018-04-05 16:27:05 -07:00
foreman
8b5bb8304b
P4 to Git Change 1537232 by skudchad@skudchad_rocm on 2018/04/05 15:00:24
...
SWDEV-145570 - [HIP] - Fix typo and fix build.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#2 edit
2018-04-05 15:12:53 -04:00
foreman
6fc37f7147
P4 to Git Change 1537228 by skudchad@skudchad_test2_win_opencl on 2018/04/05 14:53:31
...
SWDEV-145570 - [HIP] - Add HIP Memory, texture, surface, context api skeletons
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14565/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_event.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_stream.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_surface.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#1 add
2018-04-05 15:02:43 -04:00
foreman
0f8877096f
P4 to Git Change 1536925 by vsytchen@vsytchen-ocl-win10 on 2018/04/04 17:20:38
...
SWDEV-79445 - OCL generic changes and code clean-up
1. This change replaces the use of std::map with std::unordered_map to improve lookup/insert time.
2. Replace the use of std::make_pair and std::pair constructor with uniform initialization for cleaner code.
3. Replace the use of std::Container::iterator type with the auto keyword for cleaner code.
4. Use range based for loops where needed.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14517/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_context.cpp#58 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d10_amd.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11_amd.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d9_amd.hpp#17 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_gl.cpp#57 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_pipe.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/appprofile.hpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuprogram.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/cpu/cpuvirtual.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#216 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#297 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.cpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpubinary.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpucompiler.cpp#158 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#587 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#322 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#237 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#70 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#242 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#415 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#143 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#79 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#59 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#60 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#46 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/CMakeLists.txt#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.cpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/pro/prodevice.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocbinary.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccounters.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprintf.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#81 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#89 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/commandqueue.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#129 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.hpp#102 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/perfctr.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#91 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/sampler.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.cpp#17 edit
2018-04-04 18:00:17 -04:00
Laurent Morichetti
323caee8d2
Add support for clang offload bundles and <<<>>> kernel launch.
2018-04-04 13:32:33 -07:00
foreman
1a5f98c021
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
60faf90b62
Merge pull request #387 from mangupta/cleanup_bin
...
Cleanup bin directory
2018-04-04 15:06:57 +05:30
Jenkins
338e9a656a
Merge 'master' into 'amd-master'
...
Change-Id: I94e342dc62a1c3a36ef9de4f10d508af429bcdf6
2018-04-04 04:10:04 -05:00
Maneesh Gupta
efac735621
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
13b65efae0
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
2021414e98
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
4826f84d5c
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
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