foreman
ffd74944fe
P4 to Git Change 1988234 by kjayapra@3_HIPWS_TXT_ROCM on 2019/08/23 12:12:45
...
SWDEV-201068 - Reverting back CL 1987582.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#98 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#96 edit
2019-08-23 12:15:29 -04:00
Ori Messinger
f2173254e4
Report domain with HsaNodeProperties
...
PCI domain has moved to 32-bits to accommodate virtualization,
so a 32-bit integer is exposed for domain to reflect this change.
Change-Id: I0d767acadcdc8e4277db203b5865dd67dd001cef
Signed-off-by: Ori Messinger <ori.messinger@amd.com >
2019-08-23 11:59:19 -04:00
Ori Messinger
9eb9ce78fa
Report domain with HsaNodeProperties
...
PCI domain has moved to 32-bits to accommodate virtualization,
so a 32-bit integer is exposed for domain to reflect this change.
Change-Id: I0d767acadcdc8e4277db203b5865dd67dd001cef
Signed-off-by: Ori Messinger <ori.messinger@amd.com >
[ROCm/ROCR-Runtime commit: f2173254e4 ]
2019-08-23 11:59:19 -04:00
Evgeny Shcherbakov
4f4e02de7a
Merge "build: slightly change files to pass compilation" into amd-master
2019-08-23 11:44:44 -04:00
Evgeny Shcherbakov
ba57b18464
Merge "build: slightly change files to pass compilation" into amd-master
...
[ROCm/rocprofiler commit: 4f4e02de7a ]
2019-08-23 11:44:44 -04:00
Jonathan Kim
1ff5cb33b2
add new queue bit test on clear event
...
enable thunk query api to report if queue is newly created
test new queue bit test on clear events.
also fixup cleanup to disable debug trap.
Change-Id: I3ebe2d85da66f28b8c82f0e68461ee7d32ec0b0d
Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com >
Reviewed-by: Philip Cox <Philip.Cox@amd.com >
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com >
2019-08-23 11:25:32 -04:00
Jonathan Kim
c9cc529a4f
add new queue bit test on clear event
...
enable thunk query api to report if queue is newly created
test new queue bit test on clear events.
also fixup cleanup to disable debug trap.
Change-Id: I3ebe2d85da66f28b8c82f0e68461ee7d32ec0b0d
Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com >
Reviewed-by: Philip Cox <Philip.Cox@amd.com >
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com >
[ROCm/ROCR-Runtime commit: 1ff5cb33b2 ]
2019-08-23 11:25:32 -04:00
Sarbojit2019
2b501b389a
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
[ROCm/hip-tests commit: bd535ca14b ]
2019-08-23 09:21:47 +00:00
Sarbojit2019
bd535ca14b
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
2019-08-23 09:21:47 +00:00
Sarbojit2019
0cf9a5b532
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
[ROCm/clr commit: 919bb6c74d ]
2019-08-23 09:21:47 +00:00
Sarbojit2019
919bb6c74d
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
2019-08-23 09:21:47 +00:00
Sarbojit2019
ddb0d10703
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
[ROCm/hip commit: 7257f23063 ]
2019-08-23 09:21:47 +00:00
Sarbojit2019
7257f23063
Added missing device prop fields into hipInfo sample ( #1357 )
...
* Added prop.integrated into hipInfo sample
* Added missing deviceProp fileds in hipInfo
2019-08-23 09:21:47 +00:00
Rahul Garg
7f71fe3af9
Make Bundled_code_header visible for hipRTC usage ( #1359 )
...
[ROCm/clr commit: d367fdf28c ]
2019-08-23 09:20:02 +00:00
Rahul Garg
d367fdf28c
Make Bundled_code_header visible for hipRTC usage ( #1359 )
2019-08-23 09:20:02 +00:00
Rahul Garg
bd916675eb
Make Bundled_code_header visible for hipRTC usage ( #1359 )
...
[ROCm/hip commit: 0fd14a3e13 ]
2019-08-23 09:20:02 +00:00
Rahul Garg
0fd14a3e13
Make Bundled_code_header visible for hipRTC usage ( #1359 )
2019-08-23 09:20:02 +00:00
chrispaquot
812247b00d
Set device before processing each one ( #1358 )
...
[ROCm/hip-tests commit: cb0a3ca5bc ]
2019-08-23 09:19:50 +00:00
chrispaquot
cb0a3ca5bc
Set device before processing each one ( #1358 )
2019-08-23 09:19:50 +00:00
chrispaquot
4b13efac04
Set device before processing each one ( #1358 )
...
[ROCm/clr commit: d0b11deb7f ]
2019-08-23 09:19:50 +00:00
chrispaquot
d0b11deb7f
Set device before processing each one ( #1358 )
2019-08-23 09:19:50 +00:00
chrispaquot
808356f88b
Set device before processing each one ( #1358 )
...
[ROCm/hip commit: 344d150bf8 ]
2019-08-23 09:19:50 +00:00
chrispaquot
344d150bf8
Set device before processing each one ( #1358 )
2019-08-23 09:19:50 +00:00
Aryan Salmanpour
e8f69a8c36
[hip] add initial implementation for hipLaunchCooperativeKernel API ( #1339 )
...
* [hip] add initial implementation for hipLaunchCooperativeKernel API
* [hip] use total number of work groups to initialize the GWS resource
* [hip] use only one argument for init_gws kernel
* [hip] use the device associated with the stream for checking the device properties
[ROCm/clr commit: 32ce882d6e ]
2019-08-23 09:19:35 +00:00
Aryan Salmanpour
32ce882d6e
[hip] add initial implementation for hipLaunchCooperativeKernel API ( #1339 )
...
* [hip] add initial implementation for hipLaunchCooperativeKernel API
* [hip] use total number of work groups to initialize the GWS resource
* [hip] use only one argument for init_gws kernel
* [hip] use the device associated with the stream for checking the device properties
2019-08-23 09:19:35 +00:00
Aryan Salmanpour
0fc745b3a6
[hip] add initial implementation for hipLaunchCooperativeKernel API ( #1339 )
...
* [hip] add initial implementation for hipLaunchCooperativeKernel API
* [hip] use total number of work groups to initialize the GWS resource
* [hip] use only one argument for init_gws kernel
* [hip] use the device associated with the stream for checking the device properties
[ROCm/hip commit: 5066700ace ]
2019-08-23 09:19:35 +00:00
Aryan Salmanpour
5066700ace
[hip] add initial implementation for hipLaunchCooperativeKernel API ( #1339 )
...
* [hip] add initial implementation for hipLaunchCooperativeKernel API
* [hip] use total number of work groups to initialize the GWS resource
* [hip] use only one argument for init_gws kernel
* [hip] use the device associated with the stream for checking the device properties
2019-08-23 09:19:35 +00:00
Rahul Garg
14a510ee74
Fix memcpy with IPC slowness ( #1321 )
...
* Fix memcpy with IPC slowness
* Make early erroneous returns
* Real Clean up
* Real Clean up++
[ROCm/clr commit: a786728939 ]
2019-08-23 09:19:18 +00:00
Rahul Garg
a786728939
Fix memcpy with IPC slowness ( #1321 )
...
* Fix memcpy with IPC slowness
* Make early erroneous returns
* Real Clean up
* Real Clean up++
2019-08-23 09:19:18 +00:00
Rahul Garg
4aa011eec6
Fix memcpy with IPC slowness ( #1321 )
...
* Fix memcpy with IPC slowness
* Make early erroneous returns
* Real Clean up
* Real Clean up++
[ROCm/hip commit: 71559200c0 ]
2019-08-23 09:19:18 +00:00
Rahul Garg
71559200c0
Fix memcpy with IPC slowness ( #1321 )
...
* Fix memcpy with IPC slowness
* Make early erroneous returns
* Real Clean up
* Real Clean up++
2019-08-23 09:19:18 +00:00
foreman
e3ff32892d
P4 to Git Change 1988007 by chui@ocl-promo-incrementor on 2019/08/23 03:00:27
...
SWDEV-2 - Change OpenCL version number from 2980 to 2981.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2728 edit
[ROCm/clr commit: a3d3fba77b ]
2019-08-23 03:06:36 -04:00
foreman
a3d3fba77b
P4 to Git Change 1988007 by chui@ocl-promo-incrementor on 2019/08/23 03:00:27
...
SWDEV-2 - Change OpenCL version number from 2980 to 2981.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2728 edit
2019-08-23 03:06:36 -04:00
Craig Andrews
7b18eda121
Install to standard locations using GNUInstallDirs
...
Change-Id: I6bafae15d2a0dfb70389673e03b6f72737786501
[ROCm/rocminfo commit: f1181e0569 ]
2019-08-22 23:02:30 -05:00
Craig Andrews
f1181e0569
Install to standard locations using GNUInstallDirs
...
Change-Id: I6bafae15d2a0dfb70389673e03b6f72737786501
2019-08-22 23:02:30 -05:00
Evgeny
aecc7abc76
Mem32Bwrites -> MemWrites32B renaming
...
Change-Id: I86f570b97178caa3d3d5fcbc5ecc716216dad504
2019-08-22 22:34:36 -05:00
Evgeny
58968594c7
Mem32Bwrites -> MemWrites32B renaming
...
Change-Id: I86f570b97178caa3d3d5fcbc5ecc716216dad504
[ROCm/rocprofiler commit: aecc7abc76 ]
2019-08-22 22:34:36 -05:00
Jay Cornwall
814e0f0bdc
Reserve 128 SGPRs per wave in context save area
...
Originally reserved 100 SGPRs per wave. Pre-gfx10 needs 102 SGPRs
and gfx10 needs 128 SGPRs. Reserve 128 SGPRs per wave for all ASICs
to simplify calculation.
Also double VGPR register size for gfx908 family
Change-Id: I98b741cbfa051f49ed37ff25d99f851f124be7b6
Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com >
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com >
2019-08-22 23:33:26 -04:00
Jay Cornwall
94420e0624
Reserve 128 SGPRs per wave in context save area
...
Originally reserved 100 SGPRs per wave. Pre-gfx10 needs 102 SGPRs
and gfx10 needs 128 SGPRs. Reserve 128 SGPRs per wave for all ASICs
to simplify calculation.
Also double VGPR register size for gfx908 family
Change-Id: I98b741cbfa051f49ed37ff25d99f851f124be7b6
Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com >
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com >
[ROCm/ROCR-Runtime commit: 814e0f0bdc ]
2019-08-22 23:33:26 -04:00
Evgeny
dff3256dd5
mi100 metrics fix
...
Change-Id: I862578a2b7827a88cc6926d636d5eb9a8320a244
2019-08-22 22:30:48 -05:00
Evgeny
e5169bf5b3
mi100 metrics fix
...
Change-Id: I862578a2b7827a88cc6926d636d5eb9a8320a244
[ROCm/rocprofiler commit: dff3256dd5 ]
2019-08-22 22:30:48 -05:00
Xianwei Zhang
ee917344ff
build: slightly change files to pass compilation
...
Compiled using Clang and encountered errors on ambiguous pointer
type, implicit conversion NULL to bool, and unused function, etc.
As a fix, this patch slightly updates the related codes.
Change-Id: I4a73d66293313dda36749036f5c73aaf2a445231
2019-08-22 23:29:16 -04:00
Xianwei Zhang
3dce66bd80
build: slightly change files to pass compilation
...
Compiled using Clang and encountered errors on ambiguous pointer
type, implicit conversion NULL to bool, and unused function, etc.
As a fix, this patch slightly updates the related codes.
Change-Id: I4a73d66293313dda36749036f5c73aaf2a445231
[ROCm/rocprofiler commit: ee917344ff ]
2019-08-22 23:29:16 -04:00
Evgeny
577287cf33
fix
...
[ROCm/roctracer commit: 7a2005c4a0 ]
2019-08-22 19:27:16 -05:00
Evgeny
7a2005c4a0
fix
2019-08-22 19:27:16 -05:00
foreman
93e3c3ff45
P4 to Git Change 1987606 by gandryey@gera-win10 on 2019/08/22 13:34:25
...
SWDEV-197289 - VDI tracing API integration in rocTracer
- Update Cmake
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/CMakeLists.txt#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#17 edit
[ROCm/clr commit: 63e3830854 ]
2019-08-22 13:56:50 -04:00
foreman
63e3830854
P4 to Git Change 1987606 by gandryey@gera-win10 on 2019/08/22 13:34:25
...
SWDEV-197289 - VDI tracing API integration in rocTracer
- Update Cmake
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/CMakeLists.txt#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#17 edit
2019-08-22 13:56:50 -04:00
foreman
8c86e7a572
P4 to Git Change 1987598 by gandryey@gera-win10 on 2019/08/22 13:29:18
...
SWDEV-197289 - VDI tracing API integration in rocTracer
- Add profiling activity callbacks for HIP API. The logic will utilize the current profiling mechanism inside VDI
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_activity.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#19 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#246 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#341 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#426 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#145 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#148 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/activity.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/platform/activity.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#95 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/prof_protocol.h#1 add
[ROCm/clr commit: d83f474719 ]
2019-08-22 13:48:47 -04:00
foreman
d83f474719
P4 to Git Change 1987598 by gandryey@gera-win10 on 2019/08/22 13:29:18
...
SWDEV-197289 - VDI tracing API integration in rocTracer
- Add profiling activity callbacks for HIP API. The logic will utilize the current profiling mechanism inside VDI
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_activity.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#19 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#246 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#341 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#426 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#145 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#148 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/activity.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/platform/activity.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#95 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/prof_protocol.h#1 add
2019-08-22 13:48:47 -04:00
foreman
0533bf5386
P4 to Git Change 1987598 by gandryey@gera-win10 on 2019/08/22 13:29:18
...
SWDEV-197289 - VDI tracing API integration in rocTracer
- Add profiling activity callbacks for HIP API. The logic will utilize the current profiling mechanism inside VDI
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/hip/hip_activity.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#19 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#246 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#341 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#426 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.hpp#145 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#148 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#83 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/activity.cpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/platform/activity.hpp#1 add
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.cpp#97 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/command.hpp#95 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/prof_protocol.h#1 add
[ROCm/hip commit: 373d64478c ]
2019-08-22 13:48:47 -04:00