Revīziju grafs

11608 Revīzijas

Autors SHA1 Ziņojums Datums
foreman 4624b20760 P4 to Git Change 1317781 by lmoriche@lmoriche_opencl_dev on 2016/09/22 19:28:45
SWDEV-94610 - Add runtime support for Printf. Parse the metadata strings and build the PrintInfo structure expected by the runtime.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/amdgpu_metadata.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/amdgpu_metadata.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#10 edit


[ROCm/clr commit: c5b3373da2]
2016-09-22 19:35:10 -04:00
Ben Sander 4cf9803703 Peer-to-Peer improvements.
- Bug fix for peer visibility.  Now contexts correctly detect when they can use SDMA for P2P vs staging buffers.
- Interface to new HCC copy_ext function.
- Improve context and peer print /debug options.
- Add comments and usage to hipPeerToPeer_simple test.


[ROCm/clr commit: 944d4eaa18]
2016-09-22 14:21:19 -05:00
Ben Sander 976238ad10 Add kind translation for hipMemcpyDeviceToDevice
[ROCm/clr commit: a397e60ba9]
2016-09-22 14:21:19 -05:00
Ben Sander e32f07802e Fix HIP_INIT_API and ihipLogStatus calls
[ROCm/clr commit: fd6c09602f]
2016-09-22 14:21:19 -05:00
Ben Sander 03866f0ee5 Remove unpinned_copy code. Other cleanup.
Change-Id: Ie3f71439cf1ba729ef223d078917c403d3de879a


[ROCm/clr commit: 926aefa930]
2016-09-22 14:21:19 -05:00
Ben Sander 8e55e13469 Cleanup. Remove cfs, ihipSignal_t, staging buffer calls.
Change-Id: I8bb67c484e3a65be06a03665f059217930da2bed


[ROCm/clr commit: 5bc18c8603]
2016-09-22 14:21:19 -05:00
Ben Sander 8340e57194 Cleanup: Remove HIP signal pool.
Change-Id: Icebfd0509d12396cc5933d5556d68b53e1be36e0


[ROCm/clr commit: 17e21309f1]
2016-09-22 14:21:19 -05:00
Ben Sander dbbd5ce037 Remove HIP command dependency tracking.
Change-Id: I991c13bc5108193959ba70f9f6f9c692c9ad3a5b


[ROCm/clr commit: c365785c5c]
2016-09-22 14:21:19 -05:00
Ben Sander bafa586cf5 Cleanup, remove preCopyCommand.
Change-Id: I3768d3789a99be8136b43179d4152fa1875665cb


[ROCm/clr commit: b0509c5a58]
2016-09-22 14:21:19 -05:00
Ben Sander c291e03ce8 Change HIP async copy to call av::copy_async.
Change-Id: I4274b63ced3940d5249c32bd9d156296529c70e8


[ROCm/clr commit: 3596901c3d]
2016-09-22 14:21:19 -05:00
Ben Sander 8240ac127f Use HCC's synchronous accelerator_view::copy
Replace large block of HIP code with a call to HCC av::copy().

Change-Id: Ic32e1801cf8d4cd116ac02b72c41b1a1e4b6065c


[ROCm/clr commit: 8598d8c6d3]
2016-09-22 14:21:19 -05:00
Ben Sander 2f4c30ff79 Remove USE_AV_COPY, USE_PEER_TO_PEER fallback paths.
Change-Id: I9c20173e62029c4caebabc98784c6d7697758e4f


[ROCm/clr commit: 60f797cc5a]
2016-09-22 14:21:19 -05:00
Ben Sander 16f818b60f Remove HIP_STAGING_BUFFER
Code simplification/cleanup:
Remove stale fallback paths that uses something besides the unpinned engine.
Remove HIP_STAGING_BUFFER env var - now is const 2, 0 no longer has
special meaning.

Change-Id: I7d24cdd1067dd0c244e87b6a83897cb135d307e7


[ROCm/clr commit: 39750da9a5]
2016-09-22 14:21:18 -05:00
Ben Sander 25c24e1694 Fix bugs for different CopyModes
Change-Id: Ie59fb3b36a9ff2de178307a6d5756b5c71e0306b


[ROCm/clr commit: 271e2357e0]
2016-09-22 14:21:18 -05:00
Ben Sander 872c63b03a Move isLargeBar to UnpinnedCopyEngine constructor.
Change-Id: I7a7d3a40b1d4e0c6ec856658a6a70e5e70d287ce


[ROCm/clr commit: 17d7fc586e]
2016-09-22 14:21:18 -05:00
Ben Sander 435c528fd4 Refactor Staging Buffer CopyDeviceToHost
Use copyMode.  Embed algorithm selection inside the unpinned class.

Change-Id: Ic75fd5931717a3160904402794bbed3ccd445112


[ROCm/clr commit: 77c86934c1]
2016-09-22 14:21:18 -05:00
Ben Sander 91b43c493b Refactor staging buffer CopyHostToDevice.
- Move algorithm selection inside Unpinned class.
- Refactor function names.
- Use size_t for size threshholds.

Change-Id: Iac4de652ac9d49acbf527aa0849e388b8ecd8486


[ROCm/clr commit: e77d75c1c1]
2016-09-22 14:21:18 -05:00
Ben Sander 681f560fe1 Sample improvements.
- Enable -O3 for hipDispatchLatency.
- Use nearly-null kernel to prevent it from being optimized away.
- Formatting for hipDispatchLatency.
- Formatting for hipInfo.


[ROCm/clr commit: e8beacbfb1]
2016-09-22 13:05:47 -05:00
Ben Sander ceae6168b1 Doc update for faq.
[ROCm/clr commit: 6126d73778]
2016-09-22 13:05:47 -05:00
Ben Sander f156d5bb51 Doc update: release reminder, compare hip against other porting tools.
[ROCm/clr commit: 7ec4b65786]
2016-09-22 13:05:47 -05:00
Ben Sander 6b6b0d6b58 Updates docs for hipHcc* functions, move to header
[ROCm/clr commit: b4bc101c96]
2016-09-22 13:05:47 -05:00
Aditya Atluri b8726d4e17 added ipc runtime api for nvcc backend
Change-Id: I3297c4c9db34e7bc3267fec64a6757f9ebf91905


[ROCm/clr commit: 470a1583d1]
2016-09-22 12:55:41 -05:00
Aditya Atluri 0862286458 Fixed typo in function return
Change-Id: I8905bfdbc162815ac10c926e77a9bab432932c9c


[ROCm/clr commit: c0babe6b0a]
2016-09-22 09:30:05 -05:00
Maneesh Gupta 8fdc6e2317 Fix bug in defining HIP_VERSION_*
Change-Id: I52fcd78386ee4b5035aba4c9bced3372b7894650


[ROCm/clr commit: e51e268f24]
2016-09-22 16:32:05 +05:30
Rahul Garg c121b8b535 Added hipRuntimeGetVersion function
Change-Id: I59ec2beacb5a94439deed0dcc8eb37d6de1cc900


[ROCm/clr commit: 86e441c769]
2016-09-22 15:21:23 +05:30
foreman 8870b4d28d P4 to Git Change 1317395 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/22 03:00:04
SWDEV-2 - Change OpenCL version number from 2221 to 2222.

Affected files ...

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


[ROCm/clr commit: 4dd808cd6d]
2016-09-22 03:11:20 -04:00
Maneesh Gupta d2cf70716b Expose HIP_VERSION_* to HIP source and HIP applications
Change-Id: I6fb0d6711642c4fad2cd89b98707ee4b548b7243


[ROCm/clr commit: ba9d9708f7]
2016-09-22 12:27:07 +05:30
foreman d6f7ddd5c5 P4 to Git Change 1317285 by lmoriche@lmoriche_opencl_dev on 2016/09/21 20:36:55
SWDEV-102540 - Fill the device info_.boardName_ field from the info returned by ROCR's HSA_AMD_AGENT_INFO_PRODUCT_NAME query.

Affected files ...

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


[ROCm/clr commit: 0dd6aae926]
2016-09-21 20:43:02 -04:00
foreman 067afc2c02 P4 to Git Change 1317211 by gandryey@gera-w8 on 2016/09/21 16:53:02
SWDEV-102971 - [CQE OCL][OpenCL on PAL] "computer on low memory" issue observed folllowed by tdr while running few WF Conformance tests together
	- Use custom memory allocator to avoid memory grow in PAL
	- Extra clean-ups in resource alloc, including a fix for image pitch in the persistent memory

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#9 edit


[ROCm/clr commit: 48590452f1]
2016-09-21 17:08:14 -04:00
pensun 536fbebbe6 doc fix for hipStream
Change-Id: I618464c8b9ffa0a566434e72d2bc87a152884ca1


[ROCm/clr commit: d64bbacdd9]
2016-09-21 12:03:01 -05:00
foreman 6846b8ee16 P4 to Git Change 1316856 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/21 03:00:05
SWDEV-2 - Change OpenCL version number from 2220 to 2221.

Affected files ...

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


[ROCm/clr commit: fcc6d6637b]
2016-09-21 03:05:42 -04:00
foreman 70acf47d09 P4 to Git Change 1316785 by lmoriche@lmoriche_opencl_dev on 2016/09/20 20:47:40
SWDEV-94610 - Add gfx700 to the list of suported targets in HSAILProgram::linkImpl_LC. When dumping the source (-save-temps), print the options actually sent to clang as well as the options passed to OpenCL.

Affected files ...

... //depot/stg/opencl/drivers/opencl/library/build/Makefile.library#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/amdgpu_metadata.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/roccompiler.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#36 edit


[ROCm/clr commit: 383e97425b]
2016-09-20 20:53:50 -04:00
foreman 69fc4580e8 P4 to Git Change 1316718 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/20 17:52:05
SWDEV-2 - Change OpenCL version number from 2219 to 2220.

Affected files ...

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


[ROCm/clr commit: e9c1fb06c7]
2016-09-20 18:02:57 -04:00
foreman 1907fcb485 P4 to Git Change 1316686 by johtaylo@johtaylo-jtincrementor-increment on 2016/09/20 17:08:15
SWDEV-2 - Change OpenCL version number from 2218 to 2219.

Affected files ...

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


[ROCm/clr commit: f6529ae04a]
2016-09-20 17:22:31 -04:00
foreman c54ba8bfa1 P4 to Git Change 1316519 by johtaylo@johtaylo_L7_stg on 2016/09/20 12:50:43
SWDEV-2 - Change OpenCL version number from 2217 to 2218.

Affected files ...

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


[ROCm/clr commit: 34e0d956ec]
2016-09-20 12:56:44 -04:00
Maneesh Gupta a11bf35903 FindHIP: Fix bug in parsing source files and options
Change-Id: Ib1c793dd19d61b387da3f5894c4e37c66f02b753


[ROCm/clr commit: 6b9d8e85a7]
2016-09-20 20:46:49 +05:30
Maneesh Gupta 9cdba6fcdf FindHIP: Fix bug in handling HIP_SOURCE_PROPERTY_FORMAT
Change-Id: I6f19c487b222039e2653a8de1930c02da64318ed


[ROCm/clr commit: 3e18b5fdf3]
2016-09-20 14:03:51 +05:30
Maneesh Gupta 585ed80005 FindHIP: Fix formatting issues
Change-Id: I169266fe34fec1d0619b299733e9997eddc16d90


[ROCm/clr commit: f9a9936c49]
2016-09-20 12:53:55 +05:30
foreman 75418f30e6 P4 to Git Change 1316270 by scharupa@scharupa_temp on 2016/09/20 03:14:55
SWDEV-96479 - changing tab to space as Victor pointed out

Affected files ...

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


[ROCm/clr commit: c2b57553dc]
2016-09-20 03:20:15 -04:00
foreman ae76b26df1 P4 to Git Change 1316221 by scharupa@scharupa_temp on 2016/09/20 01:44:43
SWDEV-96479 - bug fix, exposing atomics capabilities based on GFX IP. For Hawaii the atomics is not supported hence disabled.

Affected files ...

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


[ROCm/clr commit: d793001561]
2016-09-20 01:52:18 -04:00
foreman b89d0bea0f P4 to Git Change 1316123 by gandryey@gera-w8 on 2016/09/19 18:22:55
SWDEV-102286 - [CQE OCL][OpenCL on PAL] 32/64 "DX9" OpenCL SDK Sample is crashing
	- Correct DX9 device binding

Affected files ...

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


[ROCm/clr commit: b65af32fe1]
2016-09-19 20:13:01 -04:00
foreman 321fc0490a P4 to Git Change 1315824 by asalmanp@asalmanp-opencl-stg on 2016/09/19 12:04:15
SWDEV-102417 - Forum [205433] : Memory leak with printf statement inside kernel code

	A memory leak can occur if a printf statement is inside the .cl source code but it is not used inside the __kernel code (e.g., a function inside .cl code that uses printf but never called by the __kernel). In this case compiler generates the printf metadata but printf is not used by the __kernel (i.e., the printf buffer is empty).

	To fix this issue, release the transfer buffer object before returning false in PrintfDbgHSA::output function.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/11394/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#42 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.cpp#3 edit


[ROCm/clr commit: 0dd7a03954]
2016-09-19 12:13:23 -04:00
Rahul Garg 6d1d6b9cfb Added return error code hipErrorInvalidValue in hipMemGetInfo
Change-Id: If01b012136b655ff8eb4878eb703dfe3e6a36530


[ROCm/clr commit: 8842a0d5b8]
2016-09-17 23:54:20 +05:30
pensun bc4632f143 Revert "resolve merge conflict"
This reverts commit 6c680d648b.


[ROCm/clr commit: e11b6144e4]
2016-09-16 16:04:48 -05:00
pensun 6c680d648b resolve merge conflict
Change-Id: I041730d4208ae1865820f5df73a67ba60fd4bc3c


[ROCm/clr commit: 213fd6c961]
2016-09-16 11:13:43 -05:00
Maneesh Gupta 7e0da99eed Some more event API documentation fixes
Change-Id: I159706e6771bec5270dda81800c1c6fd5f13d254


[ROCm/clr commit: 70a1a498f6]
2016-09-16 15:26:58 +05:30
Maneesh Gupta dace68aea3 Fix typo in comment
Change-Id: I217012e10d8e5322aa0dc7dd5915be10df35fb53


[ROCm/clr commit: 1dc1c056d4]
2016-09-16 15:18:17 +05:30
Maneesh Gupta d9488e163f Updates to doxygen documentation for HIP Event APIs
Change-Id: Ic2e4a5725aebca14ac824da43436aacd0fe0a45c


[ROCm/clr commit: b14d2c8c8e]
2016-09-16 15:06:54 +05:30
Maneesh Gupta 7d23b1c707 Fix fence functions doxygen group
Change-Id: I222eecb0eb0174b9f19e15b16c1ee06b7ba1e67e


[ROCm/clr commit: f51b5dda0c]
2016-09-16 15:06:54 +05:30
Rahul Garg e3f80daeef Updated error codes in Memory APIs
Change-Id: I328090db929867fd3500fc471b69f86c6f595912


[ROCm/clr commit: 5b0a4eeaba]
2016-09-16 14:59:08 +05:30