76333 Commits

Author SHA1 Message Date
Ben Sander f5e8090f2f Allow HIP_DB to be number or string flags (ie HIP_DB=api+mem+sync)
Add callbacks for processing env vars.

Change-Id: I4ddf50e2da56b1dae43f50657bc693b07b23c03d
2016-10-27 23:09:31 -05:00
Ben Sander 22ae54b4cc Add HIP_PROFILE_START_API, HIP_PROFILE_STOP_API
Refactor HIP_INIT_API to call recordApiTrace.

Change-Id: Ieff4b5018236f59e49e1b9841474440a34f821df


[ROCm/clr commit: 3132c36471]
2016-10-27 23:09:31 -05:00
Ben Sander 3132c36471 Add HIP_PROFILE_START_API, HIP_PROFILE_STOP_API
Refactor HIP_INIT_API to call recordApiTrace.

Change-Id: Ieff4b5018236f59e49e1b9841474440a34f821df
2016-10-27 23:09:31 -05:00
Ben Sander 770ae2611f Add HIP_PROFILE_START_API, HIP_PROFILE_STOP_API
Refactor HIP_INIT_API to call recordApiTrace.

Change-Id: Ieff4b5018236f59e49e1b9841474440a34f821df


[ROCm/hip commit: 710be682ca]
2016-10-27 23:09:31 -05:00
Ben Sander 710be682ca Add HIP_PROFILE_START_API, HIP_PROFILE_STOP_API
Refactor HIP_INIT_API to call recordApiTrace.

Change-Id: Ieff4b5018236f59e49e1b9841474440a34f821df
2016-10-27 23:09:31 -05:00
Ben Sander 147cd45ebf Add per-thread API seqnum to debug
Change-Id: Ib13733a3e84cd56bae13a32bae40f936c20b7543


[ROCm/clr commit: 45e2dd4d69]
2016-10-27 23:09:31 -05:00
Ben Sander 45e2dd4d69 Add per-thread API seqnum to debug
Change-Id: Ib13733a3e84cd56bae13a32bae40f936c20b7543
2016-10-27 23:09:31 -05:00
Ben Sander 494239ad61 Add per-thread API seqnum to debug
Change-Id: Ib13733a3e84cd56bae13a32bae40f936c20b7543


[ROCm/hip commit: 739bc37503]
2016-10-27 23:09:31 -05:00
Ben Sander 739bc37503 Add per-thread API seqnum to debug
Change-Id: Ib13733a3e84cd56bae13a32bae40f936c20b7543
2016-10-27 23:09:31 -05:00
Ben Sander 5e20bb6370 Don't call allow-access if allocating device's only peer is self.
Change-Id: Iac58e6c3e460675833f10b1e8b2e393de223654d


[ROCm/clr commit: f8b356dce8]
2016-10-27 23:09:31 -05:00
Ben Sander f8b356dce8 Don't call allow-access if allocating device's only peer is self.
Change-Id: Iac58e6c3e460675833f10b1e8b2e393de223654d
2016-10-27 23:09:31 -05:00
Ben Sander 04691cdff8 Don't call allow-access if allocating device's only peer is self.
Change-Id: Iac58e6c3e460675833f10b1e8b2e393de223654d


[ROCm/hip commit: 354091f357]
2016-10-27 23:09:31 -05:00
Ben Sander 354091f357 Don't call allow-access if allocating device's only peer is self.
Change-Id: Iac58e6c3e460675833f10b1e8b2e393de223654d
2016-10-27 23:09:31 -05:00
Ben Sander 4029bc31e6 Improve HIP TID printing in debug mode.
Map long thread-id to a short one that is printed with each message.
Remove clunky stirng creation code for tid_tr.
Print TID on every message.

Change-Id: I780a91d8ce789cb4957789036b478bf5cde8c4e4


[ROCm/clr commit: 7d69e858a5]
2016-10-27 23:09:31 -05:00
Ben Sander 7d69e858a5 Improve HIP TID printing in debug mode.
Map long thread-id to a short one that is printed with each message.
Remove clunky stirng creation code for tid_tr.
Print TID on every message.

Change-Id: I780a91d8ce789cb4957789036b478bf5cde8c4e4
2016-10-27 23:09:31 -05:00
Ben Sander a27124c1f6 Improve HIP TID printing in debug mode.
Map long thread-id to a short one that is printed with each message.
Remove clunky stirng creation code for tid_tr.
Print TID on every message.

Change-Id: I780a91d8ce789cb4957789036b478bf5cde8c4e4


[ROCm/hip commit: 346c519ace]
2016-10-27 23:09:31 -05:00
Ben Sander 346c519ace Improve HIP TID printing in debug mode.
Map long thread-id to a short one that is printed with each message.
Remove clunky stirng creation code for tid_tr.
Print TID on every message.

Change-Id: I780a91d8ce789cb4957789036b478bf5cde8c4e4
2016-10-27 23:09:31 -05:00
Ben Sander 3b4fc56e30 Update docs and improve hipcc error message.
Change-Id: I25636d06959d02cc46c8c476d3948e91ff83ea47


[ROCm/clr commit: 03caa1de8a]
2016-10-27 23:09:31 -05:00
Ben Sander 03caa1de8a Update docs and improve hipcc error message.
Change-Id: I25636d06959d02cc46c8c476d3948e91ff83ea47
2016-10-27 23:09:31 -05:00
Ben Sander a357a07982 Update docs and improve hipcc error message.
Change-Id: I25636d06959d02cc46c8c476d3948e91ff83ea47


[ROCm/hip commit: bff88d0f63]
2016-10-27 23:09:31 -05:00
Ben Sander bff88d0f63 Update docs and improve hipcc error message.
Change-Id: I25636d06959d02cc46c8c476d3948e91ff83ea47
2016-10-27 23:09:31 -05:00
foreman fc11a0036e P4 to Git Change 1332913 by gandryey@gera-w8 on 2016/10/27 16:30:43
SWDEV-95912 - OpenCL on PAL - RT Compute
	- Check for the queue properties before requesting the exclusive queues.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#12 edit


[ROCm/clr commit: e59cdca320]
2016-10-27 16:44:33 -04:00
foreman e59cdca320 P4 to Git Change 1332913 by gandryey@gera-w8 on 2016/10/27 16:30:43
SWDEV-95912 - OpenCL on PAL - RT Compute
	- Check for the queue properties before requesting the exclusive queues.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#29 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#12 edit
2016-10-27 16:44:33 -04:00
pensun 33b6db2322 Add missing hipStream typedef for NV path
Change-Id: I915cd14a9ff32b55b0121062d7804a7fbbdc3341


[ROCm/clr commit: dcdb7f6c68]
2016-10-27 13:34:14 -05:00
pensun dcdb7f6c68 Add missing hipStream typedef for NV path
Change-Id: I915cd14a9ff32b55b0121062d7804a7fbbdc3341
2016-10-27 13:34:14 -05:00
pensun d449ce078c Add missing hipStream typedef for NV path
Change-Id: I915cd14a9ff32b55b0121062d7804a7fbbdc3341


[ROCm/hip commit: 334e9c6f8e]
2016-10-27 13:34:14 -05:00
pensun 334e9c6f8e Add missing hipStream typedef for NV path
Change-Id: I915cd14a9ff32b55b0121062d7804a7fbbdc3341
2016-10-27 13:34:14 -05:00
foreman c7eeb9a5e9 P4 to Git Change 1332744 by lmoriche@lmoriche_opencl_lc on 2016/10/27 12:50:35
SWDEV-105604 - [OCL-LC-PAL] OpenCL program manager for LC on PAL
	- Use the gfxip target names by default

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#17 edit


[ROCm/clr commit: 54858df82b]
2016-10-27 13:02:49 -04:00
foreman 54858df82b P4 to Git Change 1332744 by lmoriche@lmoriche_opencl_lc on 2016/10/27 12:50:35
SWDEV-105604 - [OCL-LC-PAL] OpenCL program manager for LC on PAL
	- Use the gfxip target names by default

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#17 edit
2016-10-27 13:02:49 -04:00
foreman 83cdf16e55 P4 to Git Change 1332529 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/27 03:00:05
SWDEV-2 - Change OpenCL version number from 2256 to 2257.

Affected files ...

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


[ROCm/clr commit: 74e6f22212]
2016-10-27 03:13:23 -04:00
foreman 74e6f22212 P4 to Git Change 1332529 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/27 03:00:05
SWDEV-2 - Change OpenCL version number from 2256 to 2257.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2003 edit
2016-10-27 03:13:23 -04:00
Jay Cornwall c30c25bd30 Fix miscellaneous warnings flagged by Clang
Change-Id: I85a45cb3b44e4379b31bcc56af061fd1571f2af5
2016-10-26 19:26:16 -05:00
Jay Cornwall c6bfeda697 Fix miscellaneous warnings flagged by Clang
Change-Id: I85a45cb3b44e4379b31bcc56af061fd1571f2af5


[ROCm/ROCR-Runtime commit: c30c25bd30]
2016-10-26 19:26:16 -05:00
foreman 1e35d7aa2a P4 to Git Change 1332373 by gandryey@gera-w8 on 2016/10/26 17:21:42
SWDEV-86035 - Add PAL backend to OpenCL
	- Restructure loader functionality

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#11 edit


[ROCm/clr commit: 7405502f65]
2016-10-26 17:42:37 -04:00
foreman 7405502f65 P4 to Git Change 1332373 by gandryey@gera-w8 on 2016/10/26 17:21:42
SWDEV-86035 - Add PAL backend to OpenCL
	- Restructure loader functionality

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#11 edit
2016-10-26 17:42:37 -04:00
foreman 6b00dbc18e P4 to Git Change 1332293 by lmoriche@lmoriche_opencl_dev on 2016/10/26 16:04:38
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Don't count the hidden arguments as the OCL signature should not see them. Use -1 for hidden index.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#19 edit


[ROCm/clr commit: 1267cf476a]
2016-10-26 16:13:32 -04:00
foreman 1267cf476a P4 to Git Change 1332293 by lmoriche@lmoriche_opencl_dev on 2016/10/26 16:04:38
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Don't count the hidden arguments as the OCL signature should not see them. Use -1 for hidden index.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#19 edit
2016-10-26 16:13:32 -04:00
foreman 0101a32917 P4 to Git Change 1332267 by lmoriche@lmoriche_opencl_dev on 2016/10/26 15:35:21
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Initialize arg->index_

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#18 edit


[ROCm/clr commit: fb36aaba26]
2016-10-26 15:43:30 -04:00
foreman fb36aaba26 P4 to Git Change 1332267 by lmoriche@lmoriche_opencl_dev on 2016/10/26 15:35:21
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Initialize arg->index_

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#18 edit
2016-10-26 15:43:30 -04:00
foreman 8e3a393dd6 P4 to Git Change 1332211 by lmoriche@lmoriche_opencl_lc on 2016/10/26 13:58:55
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Another tentative fix for the Windows build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#15 edit


[ROCm/clr commit: f0bb49bbaa]
2016-10-26 14:22:44 -04:00
foreman f0bb49bbaa P4 to Git Change 1332211 by lmoriche@lmoriche_opencl_lc on 2016/10/26 13:58:55
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Another tentative fix for the Windows build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#15 edit
2016-10-26 14:22:44 -04:00
foreman 5cb9b429a5 P4 to Git Change 1332187 by lmoriche@lmoriche_opencl_lc on 2016/10/26 13:22:19
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Fix the Windows build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#17 edit


[ROCm/clr commit: 6c69717577]
2016-10-26 13:29:16 -04:00
foreman 6c69717577 P4 to Git Change 1332187 by lmoriche@lmoriche_opencl_lc on 2016/10/26 13:22:19
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Fix the Windows build

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#17 edit
2016-10-26 13:29:16 -04:00
foreman 214bb5de75 P4 to Git Change 1332184 by lmoriche@lmoriche_opencl_dev on 2016/10/26 13:13:41
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Integrate changes form the ROCm device: add generic handling of hidden arguments and flatten vector types.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#35 edit


[ROCm/clr commit: 705822e283]
2016-10-26 13:21:54 -04:00
foreman 705822e283 P4 to Git Change 1332184 by lmoriche@lmoriche_opencl_dev on 2016/10/26 13:13:41
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Integrate changes form the ROCm device: add generic handling of hidden arguments and flatten vector types.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#35 edit
2016-10-26 13:21:54 -04:00
foreman 80b7610b57 P4 to Git Change 1331847 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/26 03:00:04
SWDEV-2 - Change OpenCL version number from 2255 to 2256.

Affected files ...

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


[ROCm/clr commit: 10cc5f6f1f]
2016-10-26 03:12:02 -04:00
foreman 10cc5f6f1f P4 to Git Change 1331847 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/26 03:00:04
SWDEV-2 - Change OpenCL version number from 2255 to 2256.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2002 edit
2016-10-26 03:12:02 -04:00
pensun 6818eaf657 Remove extra semicolons and extra spaces in header on NV path
Change-Id: Ib33aec2451a4e0b298d537dbb1b9df000405871b


[ROCm/clr commit: 0dbc6a1e93]
2016-10-26 10:23:10 +05:30
pensun 0dbc6a1e93 Remove extra semicolons and extra spaces in header on NV path
Change-Id: Ib33aec2451a4e0b298d537dbb1b9df000405871b
2016-10-26 10:23:10 +05:30
pensun 35e0bdbc22 Remove extra semicolons and extra spaces in header on NV path
Change-Id: Ib33aec2451a4e0b298d537dbb1b9df000405871b


[ROCm/hip commit: 2abf300797]
2016-10-26 10:23:10 +05:30