Commit Graph

12735 Commits

Author SHA1 Message Date
foreman a1f425887c P4 to Git Change 1336502 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/04 03:00:03
SWDEV-2 - Change OpenCL version number from 2264 to 2265.

Affected files ...

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


[ROCm/clr commit: 0794d6b50b]
2016-11-04 02:06:26 -05:00
foreman 6d277ef77e P4 to Git Change 1336353 by lmoriche@lmoriche_opencl_dev on 2016/11/03 18:47:50
SWDEV-105604 - [OCL-LC-PAL] OpenCL program manager for LC on PAL
	- Finish the implementation of the program manager to support separare compilation and binary loading.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#13 edit


[ROCm/clr commit: 065133bbc0]
2016-11-03 18:56:31 -04:00
foreman 5a2827406e P4 to Git Change 1336294 by gandryey@gera-w8 on 2016/11/03 17:50:35
SWDEV-86035 - Add PAL backend to OpenCL
	- Use size() method in the segment freeze instead of vmSize(), because vmSize() is aligned in PAL and different heaps may have different alignments

Affected files ...

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


[ROCm/clr commit: 30b62e264c]
2016-11-03 18:14:18 -04:00
foreman bad810bb2f P4 to Git Change 1336110 by gandryey@gera-w8 on 2016/11/03 15:21:09
SWDEV-86035 - Add PAL backend to OpenCL
	- Update printf initialization to match the GSL backend

Affected files ...

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


[ROCm/clr commit: 4d82398e1f]
2016-11-03 15:41:39 -04:00
foreman e8886648c6 P4 to Git Change 1335811 by lmoriche@lmoriche_opencl_lc on 2016/11/03 03:28:18
SWDEV-105604 - [OCL-LC-PAL] OpenCL program manager for LC on PAL
	- Fix the corrupted HSACO file when using -save-temps/-save-temps-all on Windows.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcompiler.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#20 edit


[ROCm/clr commit: 9227e8ede5]
2016-11-03 02:35:28 -05:00
foreman 7de2ef329d P4 to Git Change 1335796 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/03 03:00:11
SWDEV-2 - Change OpenCL version number from 2263 to 2264.

Affected files ...

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


[ROCm/clr commit: 99b5c92998]
2016-11-03 03:11:48 -04:00
pensun 8911a02b17 Update document for workaround suggestion on threadfence_system()
Change-Id: Icccab8270604a0e578a8614b9afb3f95372f4966


[ROCm/clr commit: 212fa7033c]
2016-11-02 16:08:27 -05:00
foreman 99fbf62c0f P4 to Git Change 1335201 by johtaylo@johtaylo-jtincrementor-increment on 2016/11/02 03:00:03
SWDEV-2 - Change OpenCL version number from 2262 to 2263.

Affected files ...

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


[ROCm/clr commit: 5208f758c7]
2016-11-02 03:06:44 -04:00
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