76333 Коммитов

Автор SHA1 Сообщение Дата
foreman 713bf036bb P4 to Git Change 1486756 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/25 03:00:05
SWDEV-2 - Change OpenCL version number from 2543 to 2544.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2291 edit
2017-11-25 03:11:18 -05:00
foreman d353a3c562 P4 to Git Change 1486724 by wchau@wchau_OCL_boltzmann on 2017/11/24 17:48:34
SWDEV-139422 - Lexa Linux Support - OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#48 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#579 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#66 edit


[ROCm/clr commit: 88936eb203]
2017-11-24 17:58:22 -05:00
foreman 88936eb203 P4 to Git Change 1486724 by wchau@wchau_OCL_boltzmann on 2017/11/24 17:48:34
SWDEV-139422 - Lexa Linux Support - OCL

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#21 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#25 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#53 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#48 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#44 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#50 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#150 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#579 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#25 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#66 edit
2017-11-24 17:58:22 -05:00
Alex Voicu 6d42c40a7b Re-sync with upstream.
[ROCm/clr commit: fd406fce20]
2017-11-24 13:04:12 +00:00
Alex Voicu fd406fce20 Re-sync with upstream. 2017-11-24 13:04:12 +00:00
Alex Voicu 0110a3b5fb Re-sync with upstream.
[ROCm/hip commit: 907d41df77]
2017-11-24 13:04:12 +00:00
Alex Voicu 907d41df77 Re-sync with upstream. 2017-11-24 13:04:12 +00:00
Jenkins 59558b225d Merge 'master' into 'amd-master'
Change-Id: I9b15fd04a369c32b6c9bef1c0d67a90b28dfe69b


[ROCm/clr commit: d5aac47d05]
2017-11-24 04:10:50 -06:00
Jenkins d5aac47d05 Merge 'master' into 'amd-master'
Change-Id: I9b15fd04a369c32b6c9bef1c0d67a90b28dfe69b
2017-11-24 04:10:50 -06:00
Jenkins 1a62884ea6 Merge 'master' into 'amd-master'
Change-Id: I9b15fd04a369c32b6c9bef1c0d67a90b28dfe69b


[ROCm/hip commit: 37cdfb41dc]
2017-11-24 04:10:50 -06:00
Jenkins 37cdfb41dc Merge 'master' into 'amd-master'
Change-Id: I9b15fd04a369c32b6c9bef1c0d67a90b28dfe69b
2017-11-24 04:10:50 -06:00
foreman 4bbce62c3d P4 to Git Change 1486480 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/24 03:00:04
SWDEV-2 - Change OpenCL version number from 2542 to 2543.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2290 edit


[ROCm/clr commit: ab0e2fb2fe]
2017-11-24 03:10:32 -05:00
foreman ab0e2fb2fe P4 to Git Change 1486480 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/24 03:00:04
SWDEV-2 - Change OpenCL version number from 2542 to 2543.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2290 edit
2017-11-24 03:10:32 -05:00
Rahul Garg 896c146fef Porting guides update for texture APIs usage
[ROCm/clr commit: 3e9a4cfdd1]
2017-11-24 12:00:55 +05:30
Rahul Garg 3e9a4cfdd1 Porting guides update for texture APIs usage 2017-11-24 12:00:55 +05:30
Rahul Garg da1e6b14f5 Porting guides update for texture APIs usage
[ROCm/hip commit: 04bc5a1d1f]
2017-11-24 12:00:55 +05:30
Rahul Garg 04bc5a1d1f Porting guides update for texture APIs usage 2017-11-24 12:00:55 +05:30
foreman 75860d803f P4 to Git Change 1486043 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/23 03:00:05
SWDEV-2 - Change OpenCL version number from 2541 to 2542.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2289 edit


[ROCm/clr commit: 460f5d125e]
2017-11-23 13:15:43 -05:00
foreman 460f5d125e P4 to Git Change 1486043 by johtaylo@johtaylo-jtincrementor2-increment on 2017/11/23 03:00:05
SWDEV-2 - Change OpenCL version number from 2541 to 2542.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2289 edit
2017-11-23 13:15:43 -05:00
Ben Sander 84802e5d68 Merge pull request #273 from mangupta/swdev-129574
Fix float2int rounding functions

[ROCm/clr commit: 77de4b96cf]
2017-11-23 12:04:36 -06:00
Ben Sander 77de4b96cf Merge pull request #273 from mangupta/swdev-129574
Fix float2int rounding functions
2017-11-23 12:04:36 -06:00
Ben Sander 9e0e43bfd8 Merge pull request #273 from mangupta/swdev-129574
Fix float2int rounding functions

[ROCm/hip commit: 814548407d]
2017-11-23 12:04:36 -06:00
Ben Sander 814548407d Merge pull request #273 from mangupta/swdev-129574
Fix float2int rounding functions
2017-11-23 12:04:36 -06:00
Jenkins 8d05ee0eb8 Merge 'master' into 'amd-master'
Change-Id: I74751b8fe8b223a9bdcb18c6e340c5ff8c771a64


[ROCm/clr commit: c1dc716d76]
2017-11-23 04:10:36 -06:00
Jenkins c1dc716d76 Merge 'master' into 'amd-master'
Change-Id: I74751b8fe8b223a9bdcb18c6e340c5ff8c771a64
2017-11-23 04:10:36 -06:00
Jenkins 2c8e27eab8 Merge 'master' into 'amd-master'
Change-Id: I74751b8fe8b223a9bdcb18c6e340c5ff8c771a64


[ROCm/hip commit: 0b12b71ab2]
2017-11-23 04:10:36 -06:00
Jenkins 0b12b71ab2 Merge 'master' into 'amd-master'
Change-Id: I74751b8fe8b223a9bdcb18c6e340c5ff8c771a64
2017-11-23 04:10:36 -06:00
Maneesh Gupta 05963822e7 Fix float2int rounding functions
Change-Id: I67943859a6344c5eec0eaa23418c9b802ef72468


[ROCm/clr commit: 822743845c]
2017-11-23 09:57:24 +05:30
Maneesh Gupta 822743845c Fix float2int rounding functions
Change-Id: I67943859a6344c5eec0eaa23418c9b802ef72468
2017-11-23 09:57:24 +05:30
Maneesh Gupta 2e043b7c0e Fix float2int rounding functions
Change-Id: I67943859a6344c5eec0eaa23418c9b802ef72468


[ROCm/hip commit: 4c96882366]
2017-11-23 09:57:24 +05:30
Maneesh Gupta 4c96882366 Fix float2int rounding functions
Change-Id: I67943859a6344c5eec0eaa23418c9b802ef72468
2017-11-23 09:57:24 +05:30
Alex Voicu 36951c298d Remove leftover comment.
[ROCm/clr commit: dfa532db98]
2017-11-22 19:37:03 +00:00
Alex Voicu dfa532db98 Remove leftover comment. 2017-11-22 19:37:03 +00:00
Alex Voicu acc05cdff7 Remove leftover comment.
[ROCm/hip commit: 08f252e4bf]
2017-11-22 19:37:03 +00:00
Alex Voicu 08f252e4bf Remove leftover comment. 2017-11-22 19:37:03 +00:00
Evgeny Mankov d7e1419d8b Merge pull request #263 from ChrisKitching/headers
[HIPIFY] Add hipify mappings for all CUDA headers that have HIP equivalents

[ROCm/clr commit: 6bddac1cfa]
2017-11-22 21:24:21 +03:00
Evgeny Mankov 6bddac1cfa Merge pull request #263 from ChrisKitching/headers
[HIPIFY] Add hipify mappings for all CUDA headers that have HIP equivalents
2017-11-22 21:24:21 +03:00
Evgeny Mankov 52b93658a9 Merge pull request #263 from ChrisKitching/headers
[HIPIFY] Add hipify mappings for all CUDA headers that have HIP equivalents

[ROCm/hip commit: 4e92a034d0]
2017-11-22 21:24:21 +03:00
Evgeny Mankov 4e92a034d0 Merge pull request #263 from ChrisKitching/headers
[HIPIFY] Add hipify mappings for all CUDA headers that have HIP equivalents
2017-11-22 21:24:21 +03:00
Amber Lin 6f7b55f2d8 Add debug message in PMC trace
Print data in PMC trace when the debug level is set to 7(pr_debug).

Change-Id: I9abbb8f6c3f7962fb637528578c1a58b7784042d
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2017-11-22 10:09:49 -05:00
Amber Lin b3439f48c2 Add debug message in PMC trace
Print data in PMC trace when the debug level is set to 7(pr_debug).

Change-Id: I9abbb8f6c3f7962fb637528578c1a58b7784042d
Signed-off-by: Amber Lin <Amber.Lin@amd.com>


[ROCm/ROCR-Runtime commit: 6f7b55f2d8]
2017-11-22 10:09:49 -05:00
foreman 198f7e4168 P4 to Git Change 1485337 by todli@todli-win-opencl-kv1 on 2017/11/21 18:53:38
SWDEV-126904 - Fix conformance Pipe read/write tests failures for ROCm/LC path and PAL/LC path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#32 edit


[ROCm/clr commit: 4e0baa79b3]
2017-11-21 18:58:23 -05:00
foreman 4e0baa79b3 P4 to Git Change 1485337 by todli@todli-win-opencl-kv1 on 2017/11/21 18:53:38
SWDEV-126904 - Fix conformance Pipe read/write tests failures for ROCm/LC path and PAL/LC path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#32 edit
2017-11-21 18:58:23 -05:00
foreman b5c6043d6e P4 to Git Change 1485325 by gandryey@gera-lnx-rcf on 2017/11/21 18:10:36
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2
	- Enable LiquidFlash extension when DGMA available only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#37 edit


[ROCm/clr commit: 0e496d9c9f]
2017-11-21 18:17:45 -05:00
foreman 0e496d9c9f P4 to Git Change 1485325 by gandryey@gera-lnx-rcf on 2017/11/21 18:10:36
SWDEV-136068 - PAL support for Linux Pro: SSG support on OpenCL 1.2
	- Enable LiquidFlash extension when DGMA available only.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#37 edit
2017-11-21 18:17:45 -05:00
Oak Zeng 061db45fe2 Fix unconditional unmap in fmm_map_to_gpu_nodes
_fmm_unmap_from_gpu is called in fmm_map_to_gpu_nodes
to unmap buffer from nodes that is already mapped to
but not in the new map nodes list. Previously, the unmap
was called unconditionally even though the size of the
array to unmap is 0. This fixes the issue by calling
the unmap func only when the unmap array size is not 0.

Also releases the fmm_mutex on error returns

Change-Id: Iadd8383caf7ebb92f02618798c5efd138a352aaa
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2017-11-21 15:16:39 -05:00
Oak Zeng 7486e8e29f Fix unconditional unmap in fmm_map_to_gpu_nodes
_fmm_unmap_from_gpu is called in fmm_map_to_gpu_nodes
to unmap buffer from nodes that is already mapped to
but not in the new map nodes list. Previously, the unmap
was called unconditionally even though the size of the
array to unmap is 0. This fixes the issue by calling
the unmap func only when the unmap array size is not 0.

Also releases the fmm_mutex on error returns

Change-Id: Iadd8383caf7ebb92f02618798c5efd138a352aaa
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>


[ROCm/ROCR-Runtime commit: 061db45fe2]
2017-11-21 15:16:39 -05:00
Oak Zeng f06e887725 Properly control lifecycle of ptr info objects
Buffer mapping to devices and buffer registration to
devices can be changed b/t two pointer info queries.
Thus update buffer mapping info and registration info
only when mapping and registration changed. This is
done by free mapped_node_id_array on mapping to new
device and free registered_node_id_array on registration
and re-allocate them on next ptr info query.

Also uses fmm_mutex to avoid race conditions in case
of calling hsaKmtQueryPointerInfo concurrently with
calling of buffer mapping or registration

Change-Id: Ibc2e20be1fc0147066f873dfa44b21f5015104b7
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2017-11-21 15:16:29 -05:00
Oak Zeng 84d88b8e1a Properly control lifecycle of ptr info objects
Buffer mapping to devices and buffer registration to
devices can be changed b/t two pointer info queries.
Thus update buffer mapping info and registration info
only when mapping and registration changed. This is
done by free mapped_node_id_array on mapping to new
device and free registered_node_id_array on registration
and re-allocate them on next ptr info query.

Also uses fmm_mutex to avoid race conditions in case
of calling hsaKmtQueryPointerInfo concurrently with
calling of buffer mapping or registration

Change-Id: Ibc2e20be1fc0147066f873dfa44b21f5015104b7
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>


[ROCm/ROCR-Runtime commit: f06e887725]
2017-11-21 15:16:29 -05:00
Alex Voicu f9b177c0b3 Modify the set component of the memcpy test (unclear why there is a memset component to begin with).
[ROCm/clr commit: 0755f1fc26]
2017-11-21 17:52:01 +00:00