76333 Commity
Autor SHA1 Zpráva Datum
Evgeny ff5b92b47b adding queue destroy callback
[ROCm/rocprofiler commit: 33b3546fe4]
2018-02-21 19:59:47 -06:00
foreman a9e75064ed P4 to Git Change 1517959 by gandryey@gera-lnx-rcf on 2018/02/21 17:24:16
SWDEV-79445 - Add RGP trace capture capability into runtime.
	- Initial implementation
	- PAL_RGP_DISP_COUNT controls the number of captured dispatches(default 10).
	- RD panel and service are required in order to capture the traces and RD Profiler for viewing and SQTT exports

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#283 edit


[ROCm/clr commit: dfb5e1b844]
2018-02-21 17:35:38 -05:00
foreman dfb5e1b844 P4 to Git Change 1517959 by gandryey@gera-lnx-rcf on 2018/02/21 17:24:16
SWDEV-79445 - Add RGP trace capture capability into runtime.
	- Initial implementation
	- PAL_RGP_DISP_COUNT controls the number of captured dispatches(default 10).
	- RD panel and service are required in order to capture the traces and RD Profiler for viewing and SQTT exports

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/build/Makefile.pal#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#43 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#15 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#283 edit
2018-02-21 17:35:38 -05:00
Evgeny a9a5119399 contrctor/destructor changes, OnLoad/OnUnload functions, removed hsa_init()/hsa_shutdown() 2018-02-21 10:07:59 -06:00
Evgeny 6eef0003a5 contrctor/destructor changes, OnLoad/OnUnload functions, removed hsa_init()/hsa_shutdown()
[ROCm/rocprofiler commit: a9a5119399]
2018-02-21 10:07:59 -06:00
foreman 63e460b3bf P4 to Git Change 1517701 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/21 03:00:05
SWDEV-2 - Change OpenCL version number from 2594 to 2595.

Affected files ...

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


[ROCm/clr commit: a6603eb87c]
2018-02-21 03:07:34 -05:00
foreman a6603eb87c P4 to Git Change 1517701 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/21 03:00:05
SWDEV-2 - Change OpenCL version number from 2594 to 2595.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2342 edit
2018-02-21 03:07:34 -05:00
foreman 715660477d P4 to Git Change 1517501 by asalmanp@asalmanp-ocl-stg on 2018/02/20 13:54:28
SWDEV-132899 - [OCL][GFX10] OCLCreateImage[3] fails for the image type 1Darray
	Issue: FillImage blit kernel is not working properly on gfx10 if the image type is 1Darray (i.e., it only fills the first slice/layer and ignores the rest of the layers when number of layers >1)
	Root cause: gfx10 HW expects the number of layers in Z component
	Fix: To fix this issue we swap the Y and Z components if the image type is 1Darray for gfx10+ in image blit kernels.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14281/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#14 edit


[ROCm/clr commit: e0f4740fc4]
2018-02-20 14:15:36 -05:00
foreman e0f4740fc4 P4 to Git Change 1517501 by asalmanp@asalmanp-ocl-stg on 2018/02/20 13:54:28
SWDEV-132899 - [OCL][GFX10] OCLCreateImage[3] fails for the image type 1Darray
	Issue: FillImage blit kernel is not working properly on gfx10 if the image type is 1Darray (i.e., it only fills the first slice/layer and ignores the rest of the layers when number of layers >1)
	Root cause: gfx10 HW expects the number of layers in Z component
	Fix: To fix this issue we swap the Y and Z components if the image type is 1Darray for gfx10+ in image blit kernels.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14281/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#14 edit
2018-02-20 14:15:36 -05:00
Oak Zeng 25170c3c57 Support ptrace access invisible vram
Invisible device memory is mmapped as PROT_NONE.
Normal CPU access to the memory is still not allowed but
struct vm_area_struct will be created for the memory address
so ptrace can access the memory via the vma.

Change-Id: I07c69208716c920ccce33e6b494b610b61a0a7c1
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
2018-02-20 14:13:00 -05:00
Oak Zeng ad1f1ee5dc Support ptrace access invisible vram
Invisible device memory is mmapped as PROT_NONE.
Normal CPU access to the memory is still not allowed but
struct vm_area_struct will be created for the memory address
so ptrace can access the memory via the vma.

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


[ROCm/ROCR-Runtime commit: 25170c3c57]
2018-02-20 14:13:00 -05:00
Jenkins a58ca0ceff Merge 'master' into 'amd-master'
Change-Id: Ib1251a94fa5c1d242d2cdd89341fbdc33644cf41


[ROCm/clr commit: 4783e4c2f3]
2018-02-20 04:09:51 -06:00
Jenkins 4783e4c2f3 Merge 'master' into 'amd-master'
Change-Id: Ib1251a94fa5c1d242d2cdd89341fbdc33644cf41
2018-02-20 04:09:51 -06:00
Jenkins 4664e359fd Merge 'master' into 'amd-master'
Change-Id: Ib1251a94fa5c1d242d2cdd89341fbdc33644cf41


[ROCm/hip commit: 55636f0dd2]
2018-02-20 04:09:51 -06:00
Jenkins 55636f0dd2 Merge 'master' into 'amd-master'
Change-Id: Ib1251a94fa5c1d242d2cdd89341fbdc33644cf41
2018-02-20 04:09:51 -06:00
foreman 59d8f7788f P4 to Git Change 1517333 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/20 03:08:24
SWDEV-2 - Change OpenCL version number from 2593 to 2594.

Affected files ...

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


[ROCm/clr commit: 66208072a3]
2018-02-20 03:21:07 -05:00
foreman 66208072a3 P4 to Git Change 1517333 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/20 03:08:24
SWDEV-2 - Change OpenCL version number from 2593 to 2594.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2341 edit
2018-02-20 03:21:07 -05:00
Maneesh Gupta 829c80c7cd Merge pull request #361 from scchan/load_startup2
load the GPU objects and setup the function symbol map on startup

[ROCm/clr commit: 7c2232d4e7]
2018-02-20 12:27:41 +05:30
Maneesh Gupta 7c2232d4e7 Merge pull request #361 from scchan/load_startup2
load the GPU objects and setup the function symbol map on startup
2018-02-20 12:27:41 +05:30
Maneesh Gupta e3d7a36046 Merge pull request #361 from scchan/load_startup2
load the GPU objects and setup the function symbol map on startup

[ROCm/hip commit: 1f0ad7e54c]
2018-02-20 12:27:41 +05:30
Maneesh Gupta 1f0ad7e54c Merge pull request #361 from scchan/load_startup2
load the GPU objects and setup the function symbol map on startup
2018-02-20 12:27:41 +05:30
Evgeny 52b3ce5845 metrix update 2018-02-19 18:50:28 -06:00
Evgeny 1621e666da metrix update
[ROCm/rocprofiler commit: 52b3ce5845]
2018-02-19 18:50:28 -06:00
Evgeny 0b0ce2d931 update 2018-02-19 18:18:51 -06:00
Evgeny 36434ee974 update
[ROCm/rocprofiler commit: 0b0ce2d931]
2018-02-19 18:18:51 -06:00
Siu Chi Chan 9fddf100b7 make HIP to load the GPU objects and to setup the function symbol map on startup
[ROCm/clr commit: 0ca9591e55]
2018-02-18 14:26:44 -05: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
Siu Chi Chan afc71e3bad make HIP to load the GPU objects and to setup the function symbol map on startup
[ROCm/hip commit: ebc92e5975]
2018-02-18 14:26:44 -05:00
Siu Chi Chan ebc92e5975 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 5d22988bc0 P4 to Git Change 1516688 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2592 to 2593.

Affected files ...

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


[ROCm/clr commit: ccb104e56b]
2018-02-16 03:29:48 -05:00
foreman ccb104e56b P4 to Git Change 1516688 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/16 03:00:05
SWDEV-2 - Change OpenCL version number from 2592 to 2593.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2340 edit
2018-02-16 03:29:48 -05:00
foreman 41f5fd45af P4 to Git Change 1516358 by emankov@em-hsa on 2018/02/15 08:04:51
SWDEV-143465 - Revert of #1516121

	[Reason]
	A plenty of tests are failed.
	After the changing stack logic a lot of tests should be fixed, a lot - to be removed from testing.
	#1516121 will be submitted again after renewal/removal of all the failed tests.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#583 edit


[ROCm/clr commit: f63eb0e998]
2018-02-15 08:12:32 -05:00
foreman f63eb0e998 P4 to Git Change 1516358 by emankov@em-hsa on 2018/02/15 08:04:51
SWDEV-143465 - Revert of #1516121

	[Reason]
	A plenty of tests are failed.
	After the changing stack logic a lot of tests should be fixed, a lot - to be removed from testing.
	#1516121 will be submitted again after renewal/removal of all the failed tests.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#583 edit
2018-02-15 08:12:32 -05:00
foreman 04ebcf32bf P4 to Git Change 1516338 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/15 03:00:05
SWDEV-2 - Change OpenCL version number from 2591 to 2592.

Affected files ...

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


[ROCm/clr commit: 890b5a78cc]
2018-02-15 03:05:33 -05:00
foreman 890b5a78cc P4 to Git Change 1516338 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/15 03:00:05
SWDEV-2 - Change OpenCL version number from 2591 to 2592.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2339 edit
2018-02-15 03:05:33 -05:00
foreman 41fed64377 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


[ROCm/clr commit: ce7a19fa55]
2018-02-14 15:08:01 -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
foreman 7cc42aa709 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


[ROCm/hip commit: 37faef47ba]
2018-02-14 15:08:01 -05:00
foreman 37faef47ba 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
foreman db9a1af6ff P4 to Git Change 1516121 by emankov@em-hsa on 2018/02/14 13:29:20
SWDEV-143465 - Stop building static C++ kernels on CI+

	Changed stack logic:
	1. Stop supporting AMDIL on CI+ devices: "AMDIL doesn't support device ..." will be reported.
	2. Stop handling OpenCL extension options in RT: if "-x spir" or "-x clc++" option is specified, it wouldn't force legacy AMDIL compiler anymore.
	3. Start reporting error on "-legacy" option in HSAIL compiler. If we reach HSAIL compiler, then it means that there are conflicting options. Report them all, possible options are: -frontend=edg, -cl-std=CL2.0 (>= 2.0),  -binary_is_spirv.

	Already submitted changes in stack logic:
	1. Start reporting error for SI devices on HSAIL path.
	2. Start handling OpenCL extension options on HSAIL path: report error on "-x spir" or "-x clc++" options.

	[Testing]
	rga offline for all the targets supported by HSAIL and AMDIL (from Family_SI up to Family_VI):
	tahiti, pitcairn, capeverde, spectre, spooky, kalindi, hawaii, oland, bonaire, hainan, carrizo, iceland, tonga, fiji, stoney, baffin, ellesmere.

	[Reviewed] by German and Stas (http://ocltc.amd.com/reviews/r/14270)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#582 edit


[ROCm/clr commit: 9a85405b0b]
2018-02-14 13:36:18 -05:00
foreman 9a85405b0b P4 to Git Change 1516121 by emankov@em-hsa on 2018/02/14 13:29:20
SWDEV-143465 - Stop building static C++ kernels on CI+

	Changed stack logic:
	1. Stop supporting AMDIL on CI+ devices: "AMDIL doesn't support device ..." will be reported.
	2. Stop handling OpenCL extension options in RT: if "-x spir" or "-x clc++" option is specified, it wouldn't force legacy AMDIL compiler anymore.
	3. Start reporting error on "-legacy" option in HSAIL compiler. If we reach HSAIL compiler, then it means that there are conflicting options. Report them all, possible options are: -frontend=edg, -cl-std=CL2.0 (>= 2.0),  -binary_is_spirv.

	Already submitted changes in stack logic:
	1. Start reporting error for SI devices on HSAIL path.
	2. Start handling OpenCL extension options on HSAIL path: report error on "-x spir" or "-x clc++" options.

	[Testing]
	rga offline for all the targets supported by HSAIL and AMDIL (from Family_SI up to Family_VI):
	tahiti, pitcairn, capeverde, spectre, spooky, kalindi, hawaii, oland, bonaire, hainan, carrizo, iceland, tonga, fiji, stoney, baffin, ellesmere.

	[Reviewed] by German and Stas (http://ocltc.amd.com/reviews/r/14270)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/backends/common/v0_8/if_acl.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#582 edit
2018-02-14 13:36:18 -05:00
foreman 38dc95449b P4 to Git Change 1515945 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/14 03:00:25
SWDEV-2 - Change OpenCL version number from 2590 to 2591.

Affected files ...

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


[ROCm/clr commit: 45f6857022]
2018-02-14 03:04:53 -05:00
foreman 45f6857022 P4 to Git Change 1515945 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/14 03:00:25
SWDEV-2 - Change OpenCL version number from 2590 to 2591.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2338 edit
2018-02-14 03:04:53 -05:00
Maneesh Gupta b73c021c8f Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc

[ROCm/clr commit: 60bda80014]
2018-02-14 12:47:23 +05:30
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 b3ce8d8519 Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc

[ROCm/hip commit: f4bd708c7e]
2018-02-14 12:47:23 +05:30
Maneesh Gupta f4bd708c7e Merge pull request #303 from phani544/nvccTests3
[nvccTests] Enable hipPeerToPeer_simple on nvcc
2018-02-14 12:47:23 +05:30
Maneesh Gupta 9c0ab85b68 Merge pull request #358 from mangupta/clangformat
[build] Add clangformat target to cmake

[ROCm/clr commit: f30a581183]
2018-02-14 09:16:14 +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 ed8ec5f15a Merge pull request #358 from mangupta/clangformat
[build] Add clangformat target to cmake

[ROCm/hip commit: 04ec70e52c]
2018-02-14 09:16:14 +05:30