76333 Commits
Autor SHA1 Mensagem Data
Alex Xie a97194485a SWDEV-232894 Port hipMemcpy optimizations from HCC to VDI
Apply the optimization to change for OpenCL too.
Clean up some unnecessary checks.

Change-Id: I840261fe35baeeadeba7388e86779d482f509aad


[ROCm/clr commit: 6c5a42b33c]
2020-04-30 11:06:28 -04:00
Alex Xie 6c5a42b33c SWDEV-232894 Port hipMemcpy optimizations from HCC to VDI
Apply the optimization to change for OpenCL too.
Clean up some unnecessary checks.

Change-Id: I840261fe35baeeadeba7388e86779d482f509aad
2020-04-30 11:06:28 -04:00
Evgeny 3ce98d33d4 get_time API: make public; extende with more time id: coarse and raw; added time error return value;
Change-Id: I1641eb2c38915222204617e07fc0bfb388bb8346
2020-04-30 02:38:18 -05:00
Evgeny 0bea31fe48 get_time API: make public; extende with more time id: coarse and raw; added time error return value;
Change-Id: I1641eb2c38915222204617e07fc0bfb388bb8346


[ROCm/rocprofiler commit: 3ce98d33d4]
2020-04-30 02:38:18 -05:00
Chauncey Hui e853810230 SWDEV-2 - Change OpenCL version number from 3133 to 3134
[ROCm/clr commit: 1de8abd031]
2020-04-30 03:00:03 -04:00
Chauncey Hui 1de8abd031 SWDEV-2 - Change OpenCL version number from 3133 to 3134 2020-04-30 03:00:03 -04:00
Payam Ghafari 662485b575 Merge "renaming vdi to rocclr, part 1" into amd-master-next
[ROCm/clr commit: aa950adc73]
2020-04-29 19:42:20 -04:00
Payam Ghafari aa950adc73 Merge "renaming vdi to rocclr, part 1" into amd-master-next 2020-04-29 19:42:20 -04:00
Payam Ghafari 9b2b0f3a86 Merge "renaming vdi to rocclr, part 1" into amd-master-next
[ROCm/hip commit: b24e5fea52]
2020-04-29 19:42:20 -04:00
Payam Ghafari b24e5fea52 Merge "renaming vdi to rocclr, part 1" into amd-master-next 2020-04-29 19:42:20 -04:00
Laurent Morichetti 00da82f951 Add debugger support for wave halted at launch
New trap handler ABI: Record in ttmp11[8:7] the event that caused the
trap handler to be entered. We currently record 2 events, trap_raised
if an s_trap instruction was executed, or excp_raised if an exception
(MEM_VIOL or ILLEGAL_INST) was raised.

Change-Id: Ie278c8277437b3b67c2737dcd1a12fe6511df428
2020-04-29 19:29:56 -04:00
Laurent Morichetti 3ead90a027 Add debugger support for wave halted at launch
New trap handler ABI: Record in ttmp11[8:7] the event that caused the
trap handler to be entered. We currently record 2 events, trap_raised
if an s_trap instruction was executed, or excp_raised if an exception
(MEM_VIOL or ILLEGAL_INST) was raised.

Change-Id: Ie278c8277437b3b67c2737dcd1a12fe6511df428


[ROCm/ROCR-Runtime commit: 00da82f951]
2020-04-29 19:29:56 -04:00
Saad Rahim 65ad48404b Merge remote-tracking branch 'upstream/master' into develop
[ROCm/rccl commit: 33c23fdcda]
2020-04-29 16:12:37 -07:00
Saad Rahim 33c23fdcda Merge remote-tracking branch 'upstream/master' into develop 2020-04-29 16:12:37 -07:00
Vlad Sytchenko d362d39266 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: Icd651e93f0c28eb2859f4997377379d0698ce84e


[ROCm/hip-tests commit: 7567ffe60e]
2020-04-29 18:54:58 -04:00
Vlad Sytchenko 7567ffe60e Merge branch 'amd-master-next' into amd-npi-next
Change-Id: Icd651e93f0c28eb2859f4997377379d0698ce84e
2020-04-29 18:54:58 -04:00
Vlad Sytchenko a11a651248 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: Icd651e93f0c28eb2859f4997377379d0698ce84e


[ROCm/clr commit: e97809ca7a]
2020-04-29 18:54:58 -04:00
Vlad Sytchenko e97809ca7a Merge branch 'amd-master-next' into amd-npi-next
Change-Id: Icd651e93f0c28eb2859f4997377379d0698ce84e
2020-04-29 18:54:58 -04:00
Vlad Sytchenko fe694d6b52 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: Icd651e93f0c28eb2859f4997377379d0698ce84e


[ROCm/hip commit: d041d30e65]
2020-04-29 18:54:58 -04:00
Vlad Sytchenko d041d30e65 Merge branch 'amd-master-next' into amd-npi-next
Change-Id: Icd651e93f0c28eb2859f4997377379d0698ce84e
2020-04-29 18:54:58 -04:00
Vlad Sytchenko f48e51008c Fix order initialization warning
Change-Id: I77ddf1dbec2d11c273163efae6526d3deca92dbf


[ROCm/clr commit: d420baf664]
2020-04-29 18:52:41 -04:00
Vlad Sytchenko d420baf664 Fix order initialization warning
Change-Id: I77ddf1dbec2d11c273163efae6526d3deca92dbf
2020-04-29 18:52:41 -04:00
Vlad Sytchenko ffd15ace45 Fix order initialization warning
Change-Id: I77ddf1dbec2d11c273163efae6526d3deca92dbf


[ROCm/hip commit: 4f173c4434]
2020-04-29 18:52:41 -04:00
Vlad Sytchenko 4f173c4434 Fix order initialization warning
Change-Id: I77ddf1dbec2d11c273163efae6526d3deca92dbf
2020-04-29 18:52:41 -04:00
Laurent Morichetti 75b9fabedc Don't make a copy of the embedded device binaries
Embedded device binaries should not be cloned if we want the ROCR's
code object URI for this binary to point to the container (host
executable or shared library) instead of a memory location.

Depends-On: I7973bb0243f5a2d1b639b8a88445cfe6af919dd7
Change-Id: Id3afc981e027e5371114d011f2caaa6414f5fc58


[ROCm/clr commit: 4591b7469e]
2020-04-29 18:40:18 -04:00
Laurent Morichetti 4591b7469e Don't make a copy of the embedded device binaries
Embedded device binaries should not be cloned if we want the ROCR's
code object URI for this binary to point to the container (host
executable or shared library) instead of a memory location.

Depends-On: I7973bb0243f5a2d1b639b8a88445cfe6af919dd7
Change-Id: Id3afc981e027e5371114d011f2caaa6414f5fc58
2020-04-29 18:40:18 -04:00
Laurent Morichetti 1e3a301694 Don't make a copy of the embedded device binaries
Embedded device binaries should not be cloned if we want the ROCR's
code object URI for this binary to point to the container (host
executable or shared library) instead of a memory location.

Depends-On: I7973bb0243f5a2d1b639b8a88445cfe6af919dd7
Change-Id: Id3afc981e027e5371114d011f2caaa6414f5fc58


[ROCm/hip commit: f21fd3e22e]
2020-04-29 18:40:18 -04:00
Laurent Morichetti f21fd3e22e Don't make a copy of the embedded device binaries
Embedded device binaries should not be cloned if we want the ROCR's
code object URI for this binary to point to the container (host
executable or shared library) instead of a memory location.

Depends-On: I7973bb0243f5a2d1b639b8a88445cfe6af919dd7
Change-Id: Id3afc981e027e5371114d011f2caaa6414f5fc58
2020-04-29 18:40:18 -04:00
Laurent Morichetti 963bae11a2 Make the device binary copy optional
Device binaries that are embedded inside the host binary do not
require a copy. Their lifetime is guaranteed to exceed that of the
loaded executable.

Add a 'make_copy' parameter to amd::Program::addDeviceProgram. If
make_copy is false the original image will be used and will not
get freed when the amd::Program is destroyed.

Change-Id: I7973bb0243f5a2d1b639b8a88445cfe6af919dd7


[ROCm/clr commit: 9e1964ddaa]
2020-04-29 18:39:57 -04:00
Laurent Morichetti 9e1964ddaa Make the device binary copy optional
Device binaries that are embedded inside the host binary do not
require a copy. Their lifetime is guaranteed to exceed that of the
loaded executable.

Add a 'make_copy' parameter to amd::Program::addDeviceProgram. If
make_copy is false the original image will be used and will not
get freed when the amd::Program is destroyed.

Change-Id: I7973bb0243f5a2d1b639b8a88445cfe6af919dd7
2020-04-29 18:39:57 -04:00
saadrahim 75863c97a4 Refactoring packaging (#193)
[ROCm/rccl commit: 308e96877e]
2020-04-29 16:24:21 -06:00
saadrahim 308e96877e Refactoring packaging (#193) 2020-04-29 16:24:21 -06:00
Payam 68c07279fb renaming vdi to rocclr, part 1
Change-Id: Idec9be2b6174217abcebaa1776e59168670740b1


[ROCm/clr commit: cb7d3227e8]
2020-04-29 17:54:37 -04:00
Payam cb7d3227e8 renaming vdi to rocclr, part 1
Change-Id: Idec9be2b6174217abcebaa1776e59168670740b1
2020-04-29 17:54:37 -04:00
Payam 72958eaee7 renaming vdi to rocclr, part 1
Change-Id: Idec9be2b6174217abcebaa1776e59168670740b1


[ROCm/hip commit: 4c3f8221e9]
2020-04-29 17:54:37 -04:00
Payam 4c3f8221e9 renaming vdi to rocclr, part 1
Change-Id: Idec9be2b6174217abcebaa1776e59168670740b1
2020-04-29 17:54:37 -04:00
Wenkai Du 2badecfa20 Merge pull request #199 from wenkaidu/para_jobs
Enable parallel jobs for hip-clang build

[ROCm/rccl commit: 914b6ca27c]
2020-04-29 13:49:48 -07:00
Wenkai Du 914b6ca27c Merge pull request #199 from wenkaidu/para_jobs
Enable parallel jobs for hip-clang build
2020-04-29 13:49:48 -07:00
saadrahim fa25190ddb Junit test storage call corrected (#197)
* Focus testing on Centos for now

* storing junit

* Reducing test suite to Ubuntu

[ROCm/rccl commit: 65390f9872]
2020-04-29 14:22:03 -06:00
saadrahim 65390f9872 Junit test storage call corrected (#197)
* Focus testing on Centos for now

* storing junit

* Reducing test suite to Ubuntu
2020-04-29 14:22:03 -06:00
Evgeny 2df34c40ea build_kernel.sh: adding a lookup for bitcode files
Change-Id: I1bd5790922b1365b1e53a75a7c7873ee2fd6b78a
2020-04-29 13:08:14 -05:00
Evgeny 6136d85f66 build_kernel.sh: adding a lookup for bitcode files
Change-Id: I1bd5790922b1365b1e53a75a7c7873ee2fd6b78a


[ROCm/rocprofiler commit: 2df34c40ea]
2020-04-29 13:08:14 -05:00
Wenkai Du 52096f2cb6 Enable parallel jobs for hip-clang build
[ROCm/rccl commit: 3f471ab5b1]
2020-04-29 17:58:16 +00:00
Wenkai Du 3f471ab5b1 Enable parallel jobs for hip-clang build 2020-04-29 17:58:16 +00:00
Saleel Kudchadker ea1c12b2b6 Fix error code when hipEventRecord is not called
Change-Id: I6672d4320280fd87fd2786bc54214d40944da845


[ROCm/clr commit: f52b2d4504]
2020-04-29 13:13:52 -04:00
Saleel Kudchadker f52b2d4504 Fix error code when hipEventRecord is not called
Change-Id: I6672d4320280fd87fd2786bc54214d40944da845
2020-04-29 13:13:52 -04:00
Saleel Kudchadker f634b3681f Fix error code when hipEventRecord is not called
Change-Id: I6672d4320280fd87fd2786bc54214d40944da845


[ROCm/hip commit: 34b32e35c9]
2020-04-29 13:13:52 -04:00
Saleel Kudchadker 34b32e35c9 Fix error code when hipEventRecord is not called
Change-Id: I6672d4320280fd87fd2786bc54214d40944da845
2020-04-29 13:13:52 -04:00
Michael LIAO c8c52c59d4 [vdi] Skip null texture object in hipDestroyTextureObject.
- To match both CUDA and HCC runtime behavior.

Change-Id: I072b006dd554e17f8341f391d33bf6224a125a7e


[ROCm/clr commit: db4bcda1bf]
2020-04-29 12:20:42 -04:00
Michael LIAO db4bcda1bf [vdi] Skip null texture object in hipDestroyTextureObject.
- To match both CUDA and HCC runtime behavior.

Change-Id: I072b006dd554e17f8341f391d33bf6224a125a7e
2020-04-29 12:20:42 -04:00