Deven Desai
24c4daedc4
Fixing a copy/paste error in my previous checkin
...
[ROCm/clr commit: 30f0c19cf1 ]
2018-04-27 12:59:51 +00:00
Deven Desai
9946827d1b
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)
[ROCm/clr commit: 76e808304c ]
2018-04-25 17:53:21 +00:00
foreman
4db0c47650
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
[ROCm/clr commit: 9aef0311c1 ]
2018-04-25 12:32:11 -04:00
Rahul Garg
f932a51c8e
Fix gcc build issues for host code
...
[ROCm/clr commit: 720e209366 ]
2018-04-25 12:30:11 +05:30
foreman
92d104bfba
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
[ROCm/clr commit: 894f01c206 ]
2018-04-24 16:49:38 -04:00
Paul
e4b8bec66d
Add host and device targets
...
[ROCm/clr commit: 56734306ed ]
2018-04-24 14:04:24 -05:00
Evgeny Mankov
8426a907cb
[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
[ROCm/clr commit: bfee03f95b ]
2018-04-24 22:04:04 +03:00
Deven Desai
13ab5368d0
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'
[ROCm/clr commit: 65a90c55e7 ]
2018-04-24 18:10:07 +00:00
foreman
03e7b4704e
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
[ROCm/clr commit: 5eace16718 ]
2018-04-24 14:05:20 -04:00
Aaron Enye Shi
1966257b5a
Remove unsupported targets gfx801 and gfx802
...
These architectures are no longer supported. Should not compile for them.
[ROCm/clr commit: 1149f88413 ]
2018-04-23 15:25:35 -04:00
Evgeny Mankov
469ffd68c9
Merge pull request #413 from emankov/master
...
[HIPIFY] undo apply .clangformat to HIPIFY source files
[ROCm/clr commit: 14a95fc231 ]
2018-04-23 20:29:43 +03:00
Evgeny Mankov
6974aca85f
[HIPIFY] undo apply .clangformat to HIPIFY source files
...
[ROCm/clr commit: ad28f72ca9 ]
2018-04-23 20:22:15 +03:00
foreman
7b013d2b37
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
[ROCm/clr commit: db522a2fbc ]
2018-04-22 21:17:27 -04:00
Rahul Garg
ec3c6c4dda
Added deprecation note in cuCtx section
...
[ROCm/clr commit: a68b9b6bf6 ]
2018-04-20 22:43:58 +05:30
Rahul Garg
3111ff5e40
Moved deprecated macro to the end
...
[ROCm/clr commit: bc61260168 ]
2018-04-20 21:57:23 +05:30
Lakhan Singh
06dd83f7f1
SWDEV-141024
...
[ROCm/clr commit: 74faa61d52 ]
2018-04-20 17:40:00 +05:30
Rahul Garg
bc59051858
Mark hipCtx APIs as deprecated
...
[ROCm/clr commit: 89674c54a7 ]
2018-04-20 17:34:48 +05:30
foreman
7823592e65
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
[ROCm/clr commit: 22439e8644 ]
2018-04-19 18:35:00 -04:00
foreman
b99e781ba3
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
[ROCm/clr commit: d532cc2b66 ]
2018-04-19 12:27:09 -04:00
Maneesh Gupta
f4ee1b185b
Merge pull request #404 from gargrahul/hipMemset2DAsync_support
...
Added hipMemset2DAsync support
[ROCm/clr commit: 4770abf00e ]
2018-04-18 14:19:41 +05:30
Rahul Garg
65b792cb9b
Resolve tex1D float to int conversion issue
...
[ROCm/clr commit: a898ccfb3f ]
2018-04-18 14:15:18 +05:30
Rahul Garg
39a19cc9e8
Added hipMemset2DAsync support
...
[ROCm/clr commit: fcc0866681 ]
2018-04-17 18:27:27 +05:30
Jenkins
0174012615
Merge 'master' into 'amd-master'
...
Change-Id: I599b0d1176a11c635c8b16c395d15677bd431fb5
[ROCm/clr commit: 9226f981ab ]
2018-04-17 04:09:48 -05:00
Maneesh Gupta
295cd826d9
Merge pull request #400 from gargrahul/hipModule_cleanup
...
hip_module code cleanup
[ROCm/clr commit: 72ff4c5cc4 ]
2018-04-17 09:00:15 +05:30
Aaron Enye Shi
2071f27bb0
Clean up triple_to_hsa_isa naming ( #403 )
...
[ROCm/clr commit: a004c8dfa2 ]
2018-04-17 06:47:55 +05:30
foreman
430ace7293
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
[ROCm/clr commit: 17d153a162 ]
2018-04-16 18:37:17 -04:00
Rahul Garg
181e0ee8ee
hip_module code cleanup
...
-Fixed missing ihipLogStatus in hipModuleLoad()
-Fixed some ihipXXX functions
[ROCm/clr commit: c23898f49b ]
2018-04-16 15:35:04 +05:30
Aaron Enye Shi
5d295abb55
Fix bug when using older rocr naming ( #399 )
...
[ROCm/clr commit: 21382e361c ]
2018-04-14 15:47:46 +05:30
foreman
a920121336
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
[ROCm/clr commit: aec786cfdb ]
2018-04-13 18:19:28 -04:00
Aaron Enye Shi
03877a5ed2
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.
[ROCm/clr commit: 199cff2365 ]
2018-04-13 16:24:39 +05:30
Jenkins
38787992d3
Merge 'master' into 'amd-master'
...
Change-Id: I68d26834a9e5e651e1be4e4219a7521f6da97415
[ROCm/clr commit: 36173d50bb ]
2018-04-13 04:10:05 -05:00
Maneesh Gupta
d8256b0652
Merge pull request #395 from lmoriche/master
...
Add missing __device__ function attributes.
[ROCm/clr commit: 2ab05a2069 ]
2018-04-12 14:51:32 +05:30
Maneesh Gupta
b17a2a5ac2
Merge pull request #393 from mangupta/cmake_update_deps
...
[cmake] Update target build dependencies
[ROCm/clr commit: de8eae68e9 ]
2018-04-12 14:36:49 +05:30
Maneesh Gupta
0721082575
Merge pull request #394 from gargrahul/hipMemset_refactoring
...
hipMemset refactoring
[ROCm/clr commit: 234488eba2 ]
2018-04-12 14:01:49 +05:30
Rahul Garg
cf6322da63
Correct missed ihipMemsetCopyDataType change
...
[ROCm/clr commit: 2ee80397f2 ]
2018-04-12 10:27:19 +05:30
Rahul Garg
312b764721
Changed ihipMemsetCopyDataType to ihipMemsetDataType
...
[ROCm/clr commit: 2658963f5b ]
2018-04-12 09:29:22 +05:30
Laurent Morichetti
957651a021
Add missing __device__ function attributes.
...
[ROCm/clr commit: 8dcfbf5bee ]
2018-04-11 09:29:37 -07:00
Rahul Garg
aff8d83cdf
Fix hipMemset stream resolution
...
[ROCm/clr commit: 88073a17c1 ]
2018-04-11 19:01:53 +05:30
Rahul Garg
a3bc29976b
hipMemset refactoring
...
[ROCm/clr commit: 40846f6f8e ]
2018-04-11 15:58:48 +05:30
Maneesh Gupta
64780b64bf
[cmake] Update target build dependencies
...
Change-Id: Ib1c34135c0d04f88daa695e7a90272225d7e64b0
[ROCm/clr commit: ebc52e5bc0 ]
2018-04-11 15:30:13 +05:30
Jenkins
9ffd01b366
Merge 'master' into 'amd-master'
...
Change-Id: Icea2117281aa6f24d85bc5ceea1db8c5d737caf3
[ROCm/clr commit: c516409a4b ]
2018-04-11 04:10:08 -05:00
Maneesh Gupta
d087d3adc3
Merge pull request #391 from lmoriche/master
...
Create one hipModule_t per device
[ROCm/clr commit: a39a96dcc9 ]
2018-04-11 13:06:58 +05:30
foreman
ff18c03439
P4 to Git Change 1539198 by skudchad@skudchad_test2_win_opencl on 2018/04/10 17:32:14
...
SWDEV-145570 - [HIP] - Add HIP API skeletons for Peer and memory
ReviewBoardURL = http://ocltc.amd.com/reviews/r/14596/diff/
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_peer.cpp#1 add
[ROCm/clr commit: e19802c5c9 ]
2018-04-10 17:41:24 -04:00
Laurent Morichetti
51a692ce2e
Create one hipModule_t per device
...
[ROCm/clr commit: f4cde23be3 ]
2018-04-10 08:57:34 -07:00
Jenkins
5cc1610281
Merge 'master' into 'amd-master'
...
Change-Id: I2bb8d2d98bb90185d663d0dc3bad1803acd857cc
[ROCm/clr commit: f61ca7be5c ]
2018-04-09 04:10:14 -05:00
Maneesh Gupta
dffc1d1534
Merge pull request #390 from mangupta/hipmemcpy_fix
...
hipMemcpyAsync returns success when trying to copy 0 bytes
[ROCm/clr commit: 2d1d79cb22 ]
2018-04-09 14:02:36 +05:30
Maneesh Gupta
07e41f3ca0
Merge pull request #388 from lmoriche/master
...
Add support for clang offload bundles and <<<>>> kernel launch.
[ROCm/clr commit: d945c85fa7 ]
2018-04-09 12:40:28 +05:30
Maneesh Gupta
cdb7f8f354
hipMemcpyAsync returns success when trying to copy 0 bytes
...
Change-Id: I4c0ee7ccc7563e2df657b50356cdd7fec9a1ef15
[ROCm/clr commit: 445de66560 ]
2018-04-09 12:39:44 +05:30
Maneesh Gupta
e2d8f322ec
[ci] Disable nvcc CI builds
...
[ROCm/clr commit: 04f116a9e8 ]
2018-04-09 12:23:56 +05:30
Maneesh Gupta
90a69472f3
Merge pull request #389 from scchan/adjust_texture_hcc_workweek
...
adjust the hcc work week for the texture fix
[ROCm/clr commit: e5b14cd918 ]
2018-04-09 10:54:16 +05:30