Wykres commitów

13557 Commity

Autor SHA1 Wiadomość Data
Peng ac591da0dd Update hip_bugs.md
Remove several out-date links in hip_bugs.md document
2018-04-30 09:36:37 -05:00
Jenkins d00d1fa3da Merge 'master' into 'amd-master'
Change-Id: I999da34da4bbfba663144dd778d9b32fb67a1a70
2018-04-30 04:09:42 -05:00
foreman c86c4c0202 P4 to Git Change 1547692 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/30 03:00:06
SWDEV-2 - Change OpenCL version number from 2642 to 2643.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2390 edit
2018-04-30 03:11:12 -04:00
foreman ad390dbe6d P4 to Git Change 1547686 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/30 00:52:23
SWDEV-145570 - [HIP] CreateTexture with hipArray

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#6 edit
2018-04-30 01:03:06 -04:00
foreman 2b0cb2fc46 P4 to Git Change 1547669 by lmoriche@lmoriche_opencl_dev2 on 2018/04/29 14:53:31
SWDEV-145570 - [HIP] Fix kernel disptach for HCC compiled programs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#34 edit
2018-04-29 15:04:45 -04:00
foreman 9f4d0049aa P4 to Git Change 1547669 by lmoriche@lmoriche_opencl_dev2 on 2018/04/29 14:53:31
SWDEV-145570 - [HIP] Fix kernel disptach for HCC compiled programs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#34 edit
2018-04-29 15:04:45 -04:00
foreman 02e28ed975 P4 to Git Change 1547668 by lmoriche@lmoriche_opencl_dev2 on 2018/04/29 14:51:30
SWDEV-145570 - [HIP] - Set SVM pointer arguments by passing a reference to the value to match other T_POINTER arguments.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#25 edit
2018-04-29 14:59:10 -04:00
foreman 4ed2c7eb47 P4 to Git Change 1547668 by lmoriche@lmoriche_opencl_dev2 on 2018/04/29 14:51:30
SWDEV-145570 - [HIP] - Set SVM pointer arguments by passing a reference to the value to match other T_POINTER arguments.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#25 edit
2018-04-29 14:59:10 -04:00
foreman 965d081daf P4 to Git Change 1547620 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/28 03:00:35
SWDEV-2 - Change OpenCL version number from 2641 to 2642.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2389 edit
2018-04-28 03:12:49 -04:00
foreman c323c0b74d P4 to Git Change 1547563 by lmoriche@lmoriche_opencl_dev2 on 2018/04/27 21:10:47
SWDEV-145570 - [HIP] - Add support for HCC compiled binaries.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#2 edit
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elf_types.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_dump.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_dynamic.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_header.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_note.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_relocation.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_section.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_segment.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_strings.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_symbols.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/elfio/elfio_utils.hpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#7 edit
2018-04-27 21:21:31 -04:00
foreman 402f99f3e6 P4 to Git Change 1547415 by gandryey@gera-w8 on 2018/04/27 16:14:51
SWDEV-79445 - OCL generic changes and code clean-up
	- Persistent memory failure could be propagated to the app without the second attempt after resource cache release. Try to allocate memory again after resource cache release.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#65 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#23 edit
2018-04-27 16:22:03 -04:00
Deven Desai 30f0c19cf1 Fixing a copy/paste error in my previous checkin 2018-04-27 12:59:51 +00:00
foreman ddecac46a9 P4 to Git Change 1547064 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/27 03:00:07
SWDEV-2 - Change OpenCL version number from 2640 to 2641.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2388 edit
2018-04-27 03:07:27 -04:00
foreman fa3460a862 P4 to Git Change 1546955 by vsytchen@vsytchen-ocl-win10 on 2018/04/26 18:13:03
SWDEV-151646 - [Win7_64][VEGA 10] Hard hang/blank screen observed while executing PC MARK8 (Video group chart)

	1. Revert to using max number of command buffers for device queue.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14714/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#95 edit
2018-04-26 18:18:28 -04:00
foreman ca538dfa45 P4 to Git Change 1546804 by skudchad@skudchad_test2_win_opencl on 2018/04/26 14:28:38
SWDEV-145570 - [HIP] - Enable SVM mode if BUILD_HIP is defined.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14711/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#87 edit
2018-04-26 14:51:10 -04:00
foreman 79ba5904dc P4 to Git Change 1546657 by gandryey@gera-w8 on 2018/04/26 10:59:34
SWDEV-151739 - [CQE OCL][DTB][Perf][QR][DTB-BLOCKER][VEGA10] Upto 18% performance drop observed while running Video Composition test sub test of Compubench due to faulty CL#1544622
	- Implement customized TS tracking for managed buffers. The common TS tracking mechanism saves the event of the last command, assuming SDMA and compute operations occur in order, but for managed buffers it's not the case. Also managed buffer doesn't have to validate TS for the parent resource.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#22 edit
2018-04-26 11:13:29 -04:00
foreman d6618edf9f P4 to Git Change 1546499 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/26 03:00:09
SWDEV-2 - Change OpenCL version number from 2639 to 2640.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2387 edit
2018-04-26 03:11:27 -04:00
Deven Desai 76e808304c Checkin to add unit tests for fixes in my previous commit
This change adds unit tests for

1. __hisinf
2. __hisnan
2. abs(long long)
3. lgamma(double)
2018-04-25 17:53:21 +00:00
foreman 9aef0311c1 P4 to Git Change 1546224 by skudchad@skudchad_test2_win_opencl on 2018/04/25 12:24:40
SWDEV-145570 - [HIP] - Add hipMemcpyTo/FromArray APIs.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14696/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#12 edit
2018-04-25 12:32:11 -04:00
foreman 3416ad385d P4 to Git Change 1546206 by gandryey@gera-w8 on 2018/04/25 11:32:37
SWDEV-151852 - [CQE OCL][DTB-BLOCKER][VEGA10][WIN][LNX][QR] Observed crash while running Multiple device context test due to FAULTY CL#1544622
	- Add a check for nullptr in case if virtual device object was destroyed before memory allocation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#10 edit
2018-04-25 11:40:42 -04:00
foreman b785abe728 P4 to Git Change 1546034 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/25 03:00:07
SWDEV-2 - Change OpenCL version number from 2638 to 2639.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2386 edit
2018-04-25 03:08:38 -04:00
Rahul Garg 720e209366 Fix gcc build issues for host code 2018-04-25 12:30:11 +05:30
foreman 1c91644f1b P4 to Git Change 1545906 by gandryey@gera-lnx-rcf on 2018/04/24 19:10:41
SWDEV-79445 - OCL generic changes and code clean-up
	- Report an error if persistent memory allocation failed. The original logic was switching to local memory, but SSG can't work with it. The logic should work properly under Linux, but in Windows OS never fails persistent allocation.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#86 edit
2018-04-24 19:17:55 -04:00
foreman 2f41f41977 P4 to Git Change 1545895 by gandryey@gera-w8 on 2018/04/24 18:25:56
SWDEV-79445 - OCL generic changes and code clean-up
	- Replace dynamic memory object allocation for the managed buffer with a preallocated object

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#298 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#5 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#64 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#21 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#94 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#50 edit
2018-04-24 18:35:32 -04:00
foreman 894f01c206 P4 to Git Change 1545859 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/24 16:44:17
SWDEV-145570 - [HIP] Get hipCtx_simple to pass
	Implemented hipCtxGetDevice
	hipCtxCreate must push the created context onto the context stack
	hipCtxDestroy must check if the top of the stack is the context being destroy
	and not just pop the top of the stack w/o checking.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_context.cpp#8 edit
2018-04-24 16:49:38 -04:00
Paul 56734306ed Add host and device targets 2018-04-24 14:04:24 -05:00
Evgeny Mankov bfee03f95b [HIPIFY] Sync with HIP (Execution Control, Surfaces, Memory)
Execution Control [deprecated since 7.0]:
cudaConfigureCall -> hipConfigureCall
cudaLaunch -> hipLaunchByPtr
cudaSetupArgument -> hipSetupArgument

Surfaces (partially):
cudaSurfaceObject_t -> hipSurfaceObject_t
cudaSurfaceBoundaryMode -> hipSurfaceBoundaryMode
cudaCreateSurfaceObject -> hipCreateSurfaceObject
cudaDestroySurfaceObject -> hipDestroySurfaceObject

Memory Management:
cudaMemset2DAsync -> hipMemset2DAsync
2018-04-24 22:04:04 +03:00
Deven Desai 65a90c55e7 Checkin to fix bugs in math functions.
This change fixes the following bugs that were discovered while debuggnig TF unit test failures (cwise_ops_test)

1. __hisinf and __hisnan routines
   Both had incorrect implementations.

2. abs
   A "long long" (64bit int) version was missing, resulting in the 32bit version being used for 64bit ints (which resulted in incorrect results, when the value passed in was outside the 32bit int range)

3. lgamma
  We seemed to have a custom version for the 'double' datatype (which was giving incorrect results). Replaced it with a call to the 'double' version of the underlying 'hc::precision_math::lgamma'
2018-04-24 18:10:07 +00:00
foreman 5eace16718 P4 to Git Change 1545750 by skudchad@skudchad_test2_win_opencl on 2018/04/24 13:55:57
SWDEV-145570 - [HIP] - Add some hip_mem* APIs. Part 2.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14681/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#11 edit
2018-04-24 14:05:20 -04:00
foreman 03b72c3007 P4 to Git Change 1545468 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/24 03:00:20
SWDEV-2 - Change OpenCL version number from 2637 to 2638.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2385 edit
2018-04-24 03:06:15 -04:00
foreman 30088df072 P4 to Git Change 1545280 by gandryey@gera-w8 on 2018/04/23 16:17:52
SWDEV-79445 - OCL generic changes and code clean-up
	- Switch scheduler parameters to the managed buffer allocation
	- Use 8 bytes for the mem clear pattern in the program loader
	- Use local memory for the hsa queue data

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#49 edit
2018-04-23 16:25:48 -04:00
Aaron Enye Shi 1149f88413 Remove unsupported targets gfx801 and gfx802
These architectures are no longer supported. Should not compile for them.
2018-04-23 15:25:35 -04:00
foreman 6a47463986 P4 to Git Change 1545170 by gandryey@gera-w8 on 2018/04/23 14:12:50
SWDEV-79445 - OCL generic changes and code clean-up
	- Make all device locks mutable to avoid extra mem allocation calls

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#85 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#27 edit
2018-04-23 14:27:48 -04:00
Evgeny Mankov 14a95fc231 Merge pull request #413 from emankov/master
[HIPIFY] undo apply .clangformat to HIPIFY source files
2018-04-23 20:29:43 +03:00
Evgeny Mankov ad28f72ca9 [HIPIFY] undo apply .clangformat to HIPIFY source files 2018-04-23 20:22:15 +03:00
foreman 5fd508c342 P4 to Git Change 1544934 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/23 03:00:06
SWDEV-2 - Change OpenCL version number from 2636 to 2637.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2384 edit
2018-04-23 03:08:15 -04:00
foreman db522a2fbc P4 to Git Change 1544858 by skudchad@skudchad_rocm on 2018/04/22 21:07:25
SWDEV-144570 - [HIP] - Fix a few APIs and typos.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#6 edit
2018-04-22 21:17:27 -04:00
foreman 97bb6b1058 P4 to Git Change 1544683 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/21 03:00:05
SWDEV-2 - Change OpenCL version number from 2635 to 2636.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2383 edit
2018-04-21 03:09:15 -04:00
foreman 392724cc3f P4 to Git Change 1544622 by gandryey@gera-w8 on 2018/04/20 17:02:52
SWDEV-79445 - OCL generic changes and code clean-up
	- Add managed buffer support and replace all uploads with the managed buffer allocations
	- Add staging copy for small image writes
	- Replace constant buffer in FillBuffer with a managed buffer also

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.cpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#84 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#26 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#62 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#63 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#92 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#48 edit
2018-04-20 17:08:29 -04:00
Rahul Garg a68b9b6bf6 Added deprecation note in cuCtx section 2018-04-20 22:43:58 +05:30
Rahul Garg bc61260168 Moved deprecated macro to the end 2018-04-20 21:57:23 +05:30
Lakhan Singh 74faa61d52 SWDEV-141024 2018-04-20 17:40:00 +05:30
Rahul Garg 89674c54a7 Mark hipCtx APIs as deprecated 2018-04-20 17:34:48 +05:30
foreman b5ee2e3b84 P4 to Git Change 1544170 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/20 03:00:05
SWDEV-2 - Change OpenCL version number from 2634 to 2635.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2382 edit
2018-04-20 03:09:03 -04:00
foreman 22439e8644 P4 to Git Change 1544061 by skudchad@skudchad_test2_win_opencl on 2018/04/19 18:24:45
SWDEV-145570 - [HIP] - Add some hip_mem* APIs

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/14647/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#10 edit
2018-04-19 18:35:00 -04:00
foreman d532cc2b66 P4 to Git Change 1543751 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/19 11:17:02
SWDEV-145570 - [HIP] Implemented a bunch of texture APIs

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#5 edit
2018-04-19 12:27:09 -04:00
foreman 47493390a2 P4 to Git Change 1543459 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/19 03:00:05
SWDEV-2 - Change OpenCL version number from 2633 to 2634.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2381 edit
2018-04-19 03:16:49 -04:00
Maneesh Gupta 4770abf00e Merge pull request #404 from gargrahul/hipMemset2DAsync_support
Added hipMemset2DAsync support
2018-04-18 14:19:41 +05:30
Rahul Garg a898ccfb3f Resolve tex1D float to int conversion issue 2018-04-18 14:15:18 +05:30
Rahul Garg fcc0866681 Added hipMemset2DAsync support 2018-04-17 18:27:27 +05:30