Commit Graph

13453 Commits

Author SHA1 Message Date
pensun 00ce529177 Update hipStreamNonBlocking to use cuda define on NV path
Change-Id: I74ea09db99d602ba1c5f192b36ff7f2781176e6a


[ROCm/clr commit: 9f86e47800]
2016-11-01 20:30:56 -05:00
foreman afe7743e77 P4 to Git Change 1335043 by lmoriche@lmoriche_opencl_dev on 2016/11/01 19:59:01
SWDEV-94611 - [OCL-LC-ROCm] Add "HSAIL" or "LC" to the driver version string to tell which stack is used.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#24 edit


[ROCm/clr commit: 248840bd54]
2016-11-01 20:05:34 -04:00
Aditya Atluri 2d299543bf added inter thread data movement intrinsics
Change-Id: I2a8a8ed49429cb7f96439bd28c4b83b5142737df


[ROCm/clr commit: f097b6ef81]
2016-11-01 16:37:33 -05:00
foreman 4f11b4b14f P4 to Git Change 1334942 by gandryey@gera-w8 on 2016/11/01 16:33:53
SWDEV-106446 - OpenCL constant address space limit control
	- Use maxMemAllocSize for the maximum constant buffer size
	http://ocltc.amd.com/reviews/r/11725/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#557 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#23 edit


[ROCm/clr commit: 3bfd6767a3]
2016-11-01 16:01:35 -05:00
foreman 3ba5ca1cfd P4 to Git Change 1334447 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/01 03:00:04
SWDEV-2 - Change OpenCL version number from 2261 to 2262.

Affected files ...

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


[ROCm/clr commit: cc2e2a0a0c]
2016-11-01 03:11:05 -04:00
Rahul Garg 5040e8bcc3 Added hipDeviceGetByPCIBusId in hip/hcc path
Change-Id: I3cca0dc533d0281689d8a407c7da16ca1ba6a3a8


[ROCm/clr commit: 81c91f5b0b]
2016-11-01 10:57:48 +05:30
foreman fb628b2df4 P4 to Git Change 1334142 by gandryey@gera-ocl-lc on 2016/10/31 14:17:14
SWDEV-86035 - Add PAL backend to OpenCL
	- Fix 2 warnings with LC path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#19 edit


[ROCm/clr commit: a214437836]
2016-10-31 14:30:53 -04:00
foreman a28ab51b31 P4 to Git Change 1333973 by rili@rili-opencl-pal-stg on 2016/10/31 10:41:30
SWDEV-95903 -  Implement SVM on PAL feature.
	1. Implement SVM Coarse Grain
	2. Implement SVM Fine Grain Buffer

	Review:http://ocltc.amd.com/reviews/r/11706/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#30 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#17 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#36 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#259 edit


[ROCm/clr commit: b925842e4e]
2016-10-31 10:47:23 -04:00
foreman cc3c963af7 P4 to Git Change 1333856 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/31 03:00:04
SWDEV-2 - Change OpenCL version number from 2260 to 2261.

Affected files ...

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


[ROCm/clr commit: a432789fb0]
2016-10-31 03:07:21 -04:00
foreman 3ab94a6a42 P4 to Git Change 1333758 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/30 03:00:04
SWDEV-2 - Change OpenCL version number from 2259 to 2260.

Affected files ...

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


[ROCm/clr commit: d6210f3d55]
2016-10-30 03:10:54 -04:00
foreman d3c4c7573c P4 to Git Change 1333731 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/29 03:00:04
SWDEV-2 - Change OpenCL version number from 2258 to 2259.

Affected files ...

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


[ROCm/clr commit: bfa0af8a32]
2016-10-29 03:15:45 -04:00
foreman 4a8f4c146a P4 to Git Change 1333693 by gandryey@gera-dev-w7 on 2016/10/28 18:25:31
SWDEV-86035 - Add PAL backend to OpenCL
	- Use size_t for hidden arguments

Affected files ...

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


[ROCm/clr commit: 55cab0cc96]
2016-10-28 18:38:30 -04:00
foreman 3468fe86c0 P4 to Git Change 1333465 by gandryey@gera-w8 on 2016/10/28 13:16:32
SWDEV-95922 - OpenCL on PAL - GL/Depth interop
	- Apply a workaround for interop with D24S8 format

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#16 edit


[ROCm/clr commit: 1b76bd77fe]
2016-10-28 13:26:03 -04:00
Evgeny Mankov 6b06d071b9 [HIPIFY] wrap kernel name with HIP_KERNEL_NAME macros...
only in case of commas in it.


[ROCm/clr commit: e1812a1319]
2016-10-28 20:05:51 +03:00
Evgeny Mankov 85b20ca376 * [HIPIFY] Initial Profiler support.
CUDA Driver API porting to HIP:

+ cuProfilerStart, cuProfilerStop.
- cuProfilerInitialize & cudaProfilerInitialize - unsupported yet by HIP.


[ROCm/clr commit: 3101c26d14]
2016-10-28 18:32:13 +03:00
Ben Sander f31e602346 add hip_profile.h
Change-Id: Id43a4336db53567020584cb7842baf5c1649fd8e


[ROCm/clr commit: 9edaf0e3f7]
2016-10-28 07:08:46 -05:00
Maneesh Gupta 63ffd01391 hipdemangleatp: Try handling HC kernels as well
Change-Id: Ie438ddd28e5bc6067fcd682df849d3183046b40a


[ROCm/clr commit: c26f5d7d5a]
2016-10-28 15:46:59 +05:30
foreman 0958e56767 P4 to Git Change 1333223 by lmoriche@lmoriche_opencl_lc on 2016/10/28 04:53:46
SWDEV-105604 - [OCL-LC-PAL] OpenCL program manager for LC on PAL
	- Try to find the LLVM_BIN from the current module's path

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#8 edit


[ROCm/clr commit: e6ff7010a9]
2016-10-28 04:59:38 -04:00
Maneesh Gupta 04eb05f1a0 CMakeLists.txt: Update include paths needed for Fedora support
Change-Id: Ib84f9dba30d2c64f344d6f8e85ddbe15f30af1a0


[ROCm/clr commit: 1f08f2adaf]
2016-10-28 14:12:53 +05:30
Maneesh Gupta 6872cb2ceb hipcc: Update flags for Fedora support
Change-Id: I90be7768410e491b4f11c3b0f08470246d781d80


[ROCm/clr commit: 0d8aa10473]
2016-10-28 14:12:13 +05:30
foreman 8c3b5ef90b P4 to Git Change 1333198 by lmoriche@lmoriche_opencl_dev on 2016/10/28 04:01:59
SWDEV-105604 - [OCL-LC-PAL] OpenCL program manager for LC on PAL
	- Suppress the assertion message box on windows by default.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/platform/runtime.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#258 edit


[ROCm/clr commit: b3c63c5fb5]
2016-10-28 04:06:50 -04:00
foreman ba65da36bd P4 to Git Change 1333184 by johtaylo@johtaylo-jtincrementor-increment on 2016/10/28 03:00:05
SWDEV-2 - Change OpenCL version number from 2257 to 2258.

Affected files ...

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


[ROCm/clr commit: cf999bdd0b]
2016-10-28 03:13:25 -04:00
foreman 25f767027d P4 to Git Change 1333167 by lmoriche@lmoriche_opencl_dev on 2016/10/28 02:41:50
SWDEV-105604 - [OCL-LC-PAL] OpenCL program manager for LC on PAL
	- Remove cl_khr_depth_images from the extension list for CL2.0 since it is already defined in opencl-c.h

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#12 edit


[ROCm/clr commit: 47ec8d3e89]
2016-10-28 02:55:43 -04:00
Ben Sander c8aad6ee8e Print short hipLaunchKernel correctly.
Change-Id: I6ca03d7c707cd03d6982199830213953d5855f17


[ROCm/clr commit: 3d0fa30183]
2016-10-27 23:09:32 -05:00
Ben Sander 4378a14789 Add initial hipProfileStart/Stop
And modify sample to show how to use.
Still needs some work to understand interaction with CXL.

Change-Id: I2579824d2dd7863ea23874d34f0dabb3cb305d3e


[ROCm/clr commit: 18dbafe6e8]
2016-10-27 23:09:32 -05:00
Ben Sander 04b77f0688 show how to use variety of HIP_PROFILE features
Change-Id: I6edd66ac4c068b64e1dc3787d7f1f69ab3238469


[ROCm/clr commit: 08c08d6f9c]
2016-10-27 23:09:32 -05:00
Ben Sander 6a06295e31 Add two levels of HIP_PROFILE_API (1=short,2=long)
Change-Id: I7ef98589f8731fb879db109fd573c62b489f2b61


[ROCm/clr commit: 1d5034f583]
2016-10-27 23:09:31 -05:00
Ben Sander 61c99f912d HIPCC adds paths to profiler include and libs by default.
Users who desire otherwise can set HIP_ATP_MARKER=0.
Also remove old unused hipcc_explicit_lib option.

Change-Id: I2bf07ba880329e7a3b1365dd33a3b2be6794370f


[ROCm/clr commit: e57baf8d95]
2016-10-27 23:09:31 -05:00
Ben Sander 9b2a6652c4 Add new hipdemangleatp and snapshot sample update for new functionality
Change-Id: Ie19c683b2b0bdfeb0c3fcf89444c2e21b7f606e7


[ROCm/clr commit: 5b7da93e61]
2016-10-27 23:09:31 -05:00
Ben Sander 44127ad800 Fix scoped marker so begin/end ATP timestamps correct
Change-Id: Ic944d3fc00d7bc31b756c0e6c327b99eb489537e


[ROCm/clr commit: 90adf98a7e]
2016-10-27 23:09:31 -05:00
Ben Sander e0a3b2472c Rename HIP_ATP_MARKER and profiling vars
HIP_PROFILE_API
HIP_DB_START_API
HIP_DB_STOP_API

Change-Id: I6c4da67212ff8217e6356a2622d4c6278a188c34


[ROCm/clr commit: f7c42efa3f]
2016-10-27 23:09:31 -05:00
Ben Sander fd2e0db1f8 Allow HIP_DB to be number or string flags (ie HIP_DB=api+mem+sync)
Add callbacks for processing env vars.

Change-Id: I4ddf50e2da56b1dae43f50657bc693b07b23c03d


[ROCm/clr commit: caf446fe53]
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 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 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 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 3b4fc56e30 Update docs and improve hipcc error message.
Change-Id: I25636d06959d02cc46c8c476d3948e91ff83ea47


[ROCm/clr commit: 03caa1de8a]
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
pensun 33b6db2322 Add missing hipStream typedef for NV path
Change-Id: I915cd14a9ff32b55b0121062d7804a7fbbdc3341


[ROCm/clr commit: dcdb7f6c68]
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 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 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 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 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 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 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 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 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
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
foreman 29789eb804 P4 to Git Change 1331723 by lmoriche@lmoriche_opencl_dev on 2016/10/25 21:34:48
SWDEV-105604 - OpenCL program manager for LC on PAL
	- Set the global offsets hidden arguments.

Affected files ...

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


[ROCm/clr commit: 948482f6a2]
2016-10-25 21:41:52 -04:00