Commit Graph

5276 Commits

Author SHA1 Message Date
Rahul Garg 2184e7f6da Removed hidden args and hipLaunchParm from HIP/HCC path 2018-03-16 22:50:25 +05:30
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 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
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
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
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
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
Alex Voicu fa0bff8f78 Update CMakeLists.txt 2018-03-01 16:06:09 +00:00
Rahul Garg 7c50ae3b04 Added hip_surface header file 2018-03-01 12:22:56 +05:30
Laurent Morichetti 3251d129ef Use __HIP__ instead of __HIPCC__, and __CUDA__ instead of __CUDACC__ 2018-02-28 14:20:55 -08:00
Laurent Morichetti 70dad80383 Fixes a build error with hcc 2018-02-28 14:12:09 -08:00
Laurent Morichetti 73dd7f0e05 Add initial support for clang 2018-02-28 12:31:26 -08:00
foreman 85724dd2e4 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
2018-02-27 18:38:56 -05:00
Rahul Garg 92283d24d0 Added surface object support 2018-02-26 11:59:03 +05:30
Alex Voicu 696f0595a3 Change directory name to match HIP lowercase style. 2018-02-22 13:15:10 +00:00
Alex Voicu 1563d53c92 Merge branch 'master' of https://github.com/ROCm-Developer-Tools/HIP into feature_purge_genco 2018-02-22 12:08:52 +00:00
Siu Chi Chan 0ca9591e55 make HIP to load the GPU objects and to setup the function symbol map on startup 2018-02-18 14:26:44 -05:00
foreman ce7a19fa55 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
2018-02-14 15:08:01 -05:00
Maneesh Gupta 60bda80014 Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc
2018-02-14 12:47:23 +05:30
Maneesh Gupta f30a581183 Merge pull request #358 from mangupta/clangformat
[build] Add clangformat target to cmake
2018-02-14 09:16:14 +05:30
Maneesh Gupta cd71f55fd7 [dtests] Fix HIT block in hipPeerToPeer_simple.cpp 2018-02-14 09:13:50 +05:30
foreman 7c3a1335d3 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
2018-02-13 19:45:32 -05:00
Alex Voicu 4fadfae944 Missing merge. 2018-02-12 20:21:37 +00:00
Alex Voicu a704bd8b44 Re-sync with upstream. 2018-02-12 20:20:24 +00:00
Maneesh Gupta 647d1ba310 Merge pull request #321 from gargrahul/hipMemcpyArray_Functions
Added support for hipMemcpy Array functions-
2018-02-12 10:36:38 +05:30
Maneesh Gupta 6ef0c494d1 [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
2018-02-12 10:21:27 +05:30
Maneesh Gupta 7cd7a10e33 Merge pull request #350 from gargrahul/fix_module_host_global_symbol
Fixed host allocated globals address lookup for host usage
2018-02-12 10:13:49 +05:30
Maneesh Gupta d38f84b213 Merge pull request #355 from gargrahul/update_hip_programming_guide
Update the programming guide with environment variables names and def…
2018-02-12 10:13:18 +05:30
Evgeny Mankov 8ba4acb3cd [HIPIFY][fix] Build against llvm 3.8.0 fixed - missing include
/srv/HIP/hipify-clang/src/main.cpp:134:19: error: no member named 'dbgs' in namespace 'llvm'
      DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
            ~~~~~~^
2018-02-08 00:08:47 +03:00
Rahul Garg c47ae45d0a Update the programming guide with environemnt variables names and default threshold values used. 2018-02-06 14:29:04 +05:30
Maneesh Gupta 8359c2eb5a Merge pull request #299 from mangupta/hipStreamAddCallback
Implement hipStreamAddCallback
2018-02-02 08:32:41 +05:30
Evgeny Mankov e98ee1d627 [HIPIFY][tests] Add coalescing.cu test 2018-02-01 19:41:36 +03:00
Evgeny Mankov f7fb6e2199 [HIPIFY][tests] Add vec_add.cu test 2018-02-01 18:34:16 +03:00