Maneesh Gupta
92f1071eb1
Merge pull request #420 from ROCm-Developer-Tools/sunway513-patch-1
...
Update hip_bugs.md
2018-05-01 12:43:01 +05:30
Maneesh Gupta
adcd8553c3
Merge pull request #419 from gargrahul/fix_hip_gcc_host_build
...
Fix gcc build issues for host code
2018-05-01 12:42:50 +05:30
Maneesh Gupta
539a3df316
Merge pull request #414 from aaronenyeshi/patch-1
...
Remove unsupported targets gfx801 and gfx802
2018-05-01 12:38:49 +05:30
Maneesh Gupta
e17ade3afb
Merge pull request #415 from deven-amd/master
...
Checkin to fix bugs in math functions.
2018-05-01 12:29:03 +05:30
Maneesh Gupta
caa13f98ed
Merge pull request #410 from gargrahul/hipCtx_deprecation_warning
...
Mark hipCtx APIs as deprecated
2018-05-01 12:23:22 +05:30
Maneesh Gupta
d2a51ee651
Merge pull request #411 from luckynikki/SWDEV-141024
...
SWDEV-141024
2018-05-01 09:29:26 +05:30
Maneesh Gupta
365d155774
Merge pull request #406 from gargrahul/fix_tex1D_coordinate_type
...
Resolve tex1D float to int conversion issue
2018-05-01 09:18:11 +05:30
foreman
dc1497535d
P4 to Git Change 1548145 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/30 21:15:56
...
SWDEV-145570 - [HIP] Handle hStream=nullptr case
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#7 edit
2018-04-30 21:20:26 -04:00
foreman
213f721318
P4 to Git Change 1548038 by lmoriche@lmoriche_opencl_dev2 on 2018/04/30 15:55:18
...
SWDEV-145570 - [HIP] Fix kernel disptach for HCC compiled programs.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#6 edit
2018-04-30 20:17:46 -04:00
foreman
6f7e33cb91
P4 to Git Change 1547830 by skudchad@skudchad_test2_win_opencl on 2018/04/30 12:03:10
...
SWDEV-145570 - [HIP] - Add couple of hip_mem* APIs. Part 3.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14727/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#14 edit
2018-04-30 14:55:41 -04:00
foreman
36d2d37804
P4 to Git Change 1547825 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/30 11:59:32
...
SWDEV-145570 - [HIP] Fixed release build
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#13 edit
2018-04-30 13:34:32 -04:00
Peng
2e76f563cd
Update hip_bugs.md
...
Remove several out-date links in hip_bugs.md document
2018-04-30 09:36:37 -05:00
Jenkins
c509cebcde
Merge 'master' into 'amd-master'
...
Change-Id: I999da34da4bbfba663144dd778d9b32fb67a1a70
2018-04-30 04:09:42 -05:00
foreman
5fc5d098a9
P4 to Git Change 1547686 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/30 00:52:23
...
SWDEV-145570 - [HIP] CreateTexture with hipArray
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#6 edit
2018-04-30 01:03:06 -04:00
foreman
1cb879968b
P4 to Git Change 1547669 by lmoriche@lmoriche_opencl_dev2 on 2018/04/29 14:53:31
...
SWDEV-145570 - [HIP] Fix kernel disptach for HCC compiled programs.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#34 edit
2018-04-29 15:04:45 -04:00
foreman
2605d50ce7
P4 to Git Change 1547563 by lmoriche@lmoriche_opencl_dev2 on 2018/04/27 21:10:47
...
SWDEV-145570 - [HIP] - Add support for HCC compiled binaries.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elf_types.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_dump.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_dynamic.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_header.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_note.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_relocation.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_section.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_segment.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_strings.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_symbols.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_utils.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#7 edit
2018-04-27 21:21:31 -04:00
Deven Desai
76a7d7e374
Fixing a copy/paste error in my previous checkin
2018-04-27 12:59:51 +00:00
Deven Desai
4be4cf644f
Checkin to add unit tests for fixes in my previous commit
...
This change adds unit tests for
1. __hisinf
2. __hisnan
2. abs(long long)
3. lgamma(double)
2018-04-25 17:53:21 +00:00
foreman
18c7c164c6
P4 to Git Change 1546224 by skudchad@skudchad_test2_win_opencl on 2018/04/25 12:24:40
...
SWDEV-145570 - [HIP] - Add hipMemcpyTo/FromArray APIs.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14696/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#12 edit
2018-04-25 12:32:11 -04:00
Rahul Garg
639001933c
Fix gcc build issues for host code
2018-04-25 12:30:11 +05:30
foreman
d2fbde728c
P4 to Git Change 1545859 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/24 16:44:17
...
SWDEV-145570 - [HIP] Get hipCtx_simple to pass
Implemented hipCtxGetDevice
hipCtxCreate must push the created context onto the context stack
hipCtxDestroy must check if the top of the stack is the context being destroy
and not just pop the top of the stack w/o checking.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#8 edit
2018-04-24 16:49:38 -04:00
Paul
516d92f4d7
Add host and device targets
2018-04-24 14:04:24 -05:00
Evgeny Mankov
6f501f6094
[HIPIFY] Sync with HIP (Execution Control, Surfaces, Memory)
...
Execution Control [deprecated since 7.0]:
cudaConfigureCall -> hipConfigureCall
cudaLaunch -> hipLaunchByPtr
cudaSetupArgument -> hipSetupArgument
Surfaces (partially):
cudaSurfaceObject_t -> hipSurfaceObject_t
cudaSurfaceBoundaryMode -> hipSurfaceBoundaryMode
cudaCreateSurfaceObject -> hipCreateSurfaceObject
cudaDestroySurfaceObject -> hipDestroySurfaceObject
Memory Management:
cudaMemset2DAsync -> hipMemset2DAsync
2018-04-24 22:04:04 +03:00
Deven Desai
af586bbbf2
Checkin to fix bugs in math functions.
...
This change fixes the following bugs that were discovered while debuggnig TF unit test failures (cwise_ops_test)
1. __hisinf and __hisnan routines
Both had incorrect implementations.
2. abs
A "long long" (64bit int) version was missing, resulting in the 32bit version being used for 64bit ints (which resulted in incorrect results, when the value passed in was outside the 32bit int range)
3. lgamma
We seemed to have a custom version for the 'double' datatype (which was giving incorrect results). Replaced it with a call to the 'double' version of the underlying 'hc::precision_math::lgamma'
2018-04-24 18:10:07 +00:00
foreman
13355e5de5
P4 to Git Change 1545750 by skudchad@skudchad_test2_win_opencl on 2018/04/24 13:55:57
...
SWDEV-145570 - [HIP] - Add some hip_mem* APIs. Part 2.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14681/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#11 edit
2018-04-24 14:05:20 -04:00
Aaron Enye Shi
433866eb60
Remove unsupported targets gfx801 and gfx802
...
These architectures are no longer supported. Should not compile for them.
2018-04-23 15:25:35 -04:00
Evgeny Mankov
b36001bbbf
Merge pull request #413 from emankov/master
...
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:29:43 +03:00
Evgeny Mankov
8499e79e2b
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:22:15 +03:00
foreman
66640b546f
P4 to Git Change 1544858 by skudchad@skudchad_rocm on 2018/04/22 21:07:25
...
SWDEV-144570 - [HIP] - Fix a few APIs and typos.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#6 edit
2018-04-22 21:17:27 -04:00
Rahul Garg
39b5b07dc3
Added deprecation note in cuCtx section
2018-04-20 22:43:58 +05:30
Rahul Garg
19cb6c61ab
Moved deprecated macro to the end
2018-04-20 21:57:23 +05:30
Lakhan Singh
1c2509dc04
SWDEV-141024
2018-04-20 17:40:00 +05:30
Rahul Garg
a039dbf2dd
Mark hipCtx APIs as deprecated
2018-04-20 17:34:48 +05:30
foreman
3ce752065a
P4 to Git Change 1544061 by skudchad@skudchad_test2_win_opencl on 2018/04/19 18:24:45
...
SWDEV-145570 - [HIP] - Add some hip_mem* APIs
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14647/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#10 edit
2018-04-19 18:35:00 -04:00
foreman
63babe9e66
P4 to Git Change 1543751 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/19 11:17:02
...
SWDEV-145570 - [HIP] Implemented a bunch of texture APIs
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#5 edit
2018-04-19 12:27:09 -04:00
Maneesh Gupta
35a8deec00
Merge pull request #404 from gargrahul/hipMemset2DAsync_support
...
Added hipMemset2DAsync support
2018-04-18 14:19:41 +05:30
Rahul Garg
ffe18d1505
Resolve tex1D float to int conversion issue
2018-04-18 14:15:18 +05:30
Rahul Garg
3cfb9c0d40
Added hipMemset2DAsync support
2018-04-17 18:27:27 +05:30
Jenkins
1964bb1115
Merge 'master' into 'amd-master'
...
Change-Id: I599b0d1176a11c635c8b16c395d15677bd431fb5
2018-04-17 04:09:48 -05:00
Maneesh Gupta
33ada06de9
Merge pull request #400 from gargrahul/hipModule_cleanup
...
hip_module code cleanup
2018-04-17 09:00:15 +05:30
Aaron Enye Shi
5a80c16cd2
Clean up triple_to_hsa_isa naming ( #403 )
2018-04-17 06:47:55 +05:30
foreman
250e08f31f
P4 to Git Change 1541938 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/16 18:27:17
...
SWDEV-145570 - [HIP] Set/GetDevice and Create/DestroyTextureObject
Implemented Set/GetDevice relying on g_context (current context)
Implemented create linear/2D texture object function
Implemented hipDestroyTextureObject
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#4 edit
2018-04-16 18:37:17 -04:00
Rahul Garg
1446f78799
hip_module code cleanup
...
-Fixed missing ihipLogStatus in hipModuleLoad()
-Fixed some ihipXXX functions
2018-04-16 15:35:04 +05:30
Aaron Enye Shi
1a281240d6
Fix bug when using older rocr naming ( #399 )
2018-04-14 15:47:46 +05:30
foreman
e6718d9747
P4 to Git Change 1541197 by skudchad@skudchad_test2_win_opencl on 2018/04/13 17:49:07
...
SWDEV-145570 - [HIP] - Add missing HIP APIs and fill sym table references. The HIP tests can now build if we do a symlink to libhip_hcc.so that we build with VDI in the install folder in github HIP.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14619/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_profile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#3 edit
2018-04-13 18:19:28 -04:00
Aaron Enye Shi
ab7e727fa2
Fix new gfx target naming convention ( #397 )
...
This was introduced in recent xnack changes naming changes which affected our offload bundler. This patch will fix issues in HIP samples, ROCR tests, and others.
2018-04-13 16:24:39 +05:30
Jenkins
fceabfe4d8
Merge 'master' into 'amd-master'
...
Change-Id: I68d26834a9e5e651e1be4e4219a7521f6da97415
2018-04-13 04:10:05 -05:00
Maneesh Gupta
bda18af06d
Merge pull request #395 from lmoriche/master
...
Add missing __device__ function attributes.
2018-04-12 14:51:32 +05:30
Maneesh Gupta
97f67ced66
Merge pull request #393 from mangupta/cmake_update_deps
...
[cmake] Update target build dependencies
2018-04-12 14:36:49 +05:30
Maneesh Gupta
b1057f0be6
Merge pull request #394 from gargrahul/hipMemset_refactoring
...
hipMemset refactoring
2018-04-12 14:01:49 +05:30