Wykres commitów

12735 Commity

Autor SHA1 Wiadomość Data
foreman 2919f24b17 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


[ROCm/clr commit: 402f99f3e6]
2018-04-27 16:22:03 -04:00
Deven Desai 24c4daedc4 Fixing a copy/paste error in my previous checkin
[ROCm/clr commit: 30f0c19cf1]
2018-04-27 12:59:51 +00:00
foreman b316ebcc3f 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


[ROCm/clr commit: ddecac46a9]
2018-04-27 03:07:27 -04:00
foreman 3e13e0b475 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


[ROCm/clr commit: fa3460a862]
2018-04-26 18:18:28 -04:00
foreman 32f7708794 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


[ROCm/clr commit: ca538dfa45]
2018-04-26 14:51:10 -04:00
foreman dd4d5dcb94 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


[ROCm/clr commit: 79ba5904dc]
2018-04-26 11:13:29 -04:00
foreman 7412bc74b3 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


[ROCm/clr commit: d6618edf9f]
2018-04-26 03:11:27 -04:00
Deven Desai 9946827d1b 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)


[ROCm/clr commit: 76e808304c]
2018-04-25 17:53:21 +00:00
foreman 4db0c47650 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


[ROCm/clr commit: 9aef0311c1]
2018-04-25 12:32:11 -04:00
foreman e4110c46b0 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


[ROCm/clr commit: 3416ad385d]
2018-04-25 11:40:42 -04:00
foreman 3e004a6860 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


[ROCm/clr commit: b785abe728]
2018-04-25 03:08:38 -04:00
Rahul Garg f932a51c8e Fix gcc build issues for host code
[ROCm/clr commit: 720e209366]
2018-04-25 12:30:11 +05:30
foreman 6a915378ee 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


[ROCm/clr commit: 1c91644f1b]
2018-04-24 19:17:55 -04:00
foreman dacb39cafa 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


[ROCm/clr commit: 2f41f41977]
2018-04-24 18:35:32 -04:00
foreman 92d104bfba 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


[ROCm/clr commit: 894f01c206]
2018-04-24 16:49:38 -04:00
Paul e4b8bec66d Add host and device targets
[ROCm/clr commit: 56734306ed]
2018-04-24 14:04:24 -05:00
Evgeny Mankov 8426a907cb [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


[ROCm/clr commit: bfee03f95b]
2018-04-24 22:04:04 +03:00
Deven Desai 13ab5368d0 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'


[ROCm/clr commit: 65a90c55e7]
2018-04-24 18:10:07 +00:00
foreman 03e7b4704e 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


[ROCm/clr commit: 5eace16718]
2018-04-24 14:05:20 -04:00
foreman 564d236903 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


[ROCm/clr commit: 03b72c3007]
2018-04-24 03:06:15 -04:00
foreman d84cb92795 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


[ROCm/clr commit: 30088df072]
2018-04-23 16:25:48 -04:00
Aaron Enye Shi 1966257b5a Remove unsupported targets gfx801 and gfx802
These architectures are no longer supported. Should not compile for them.

[ROCm/clr commit: 1149f88413]
2018-04-23 15:25:35 -04:00
foreman a808749b56 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


[ROCm/clr commit: 6a47463986]
2018-04-23 14:27:48 -04:00
Evgeny Mankov 6974aca85f [HIPIFY] undo apply .clangformat to HIPIFY source files
[ROCm/clr commit: ad28f72ca9]
2018-04-23 20:22:15 +03:00
foreman 6fe62d53bc 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


[ROCm/clr commit: 5fd508c342]
2018-04-23 03:08:15 -04:00
foreman 7b013d2b37 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


[ROCm/clr commit: db522a2fbc]
2018-04-22 21:17:27 -04:00
foreman fa81ecf335 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


[ROCm/clr commit: 97bb6b1058]
2018-04-21 03:09:15 -04:00
foreman 141d36d849 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


[ROCm/clr commit: 392724cc3f]
2018-04-20 17:08:29 -04:00
Rahul Garg ec3c6c4dda Added deprecation note in cuCtx section
[ROCm/clr commit: a68b9b6bf6]
2018-04-20 22:43:58 +05:30
Rahul Garg 3111ff5e40 Moved deprecated macro to the end
[ROCm/clr commit: bc61260168]
2018-04-20 21:57:23 +05:30
Lakhan Singh 06dd83f7f1 SWDEV-141024
[ROCm/clr commit: 74faa61d52]
2018-04-20 17:40:00 +05:30
Rahul Garg bc59051858 Mark hipCtx APIs as deprecated
[ROCm/clr commit: 89674c54a7]
2018-04-20 17:34:48 +05:30
foreman 5a10edc27a 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


[ROCm/clr commit: b5ee2e3b84]
2018-04-20 03:09:03 -04:00
foreman 7823592e65 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


[ROCm/clr commit: 22439e8644]
2018-04-19 18:35:00 -04:00
foreman b99e781ba3 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


[ROCm/clr commit: d532cc2b66]
2018-04-19 12:27:09 -04:00
foreman 6b8f5c579c 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


[ROCm/clr commit: 47493390a2]
2018-04-19 03:16:49 -04:00
Rahul Garg 65b792cb9b Resolve tex1D float to int conversion issue
[ROCm/clr commit: a898ccfb3f]
2018-04-18 14:15:18 +05:30
Rahul Garg 39a19cc9e8 Added hipMemset2DAsync support
[ROCm/clr commit: fcc0866681]
2018-04-17 18:27:27 +05:30
foreman a089a7aa36 P4 to Git Change 1542065 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/17 03:00:10
SWDEV-2 - Change OpenCL version number from 2632 to 2633.

Affected files ...

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


[ROCm/clr commit: c01db678a6]
2018-04-17 03:09:08 -04:00
Maneesh Gupta 295cd826d9 Merge pull request #400 from gargrahul/hipModule_cleanup
hip_module code cleanup

[ROCm/clr commit: 72ff4c5cc4]
2018-04-17 09:00:15 +05:30
Aaron Enye Shi 2071f27bb0 Clean up triple_to_hsa_isa naming (#403)
[ROCm/clr commit: a004c8dfa2]
2018-04-17 06:47:55 +05:30
foreman 430ace7293 P4 to Git Change 1541938 by cpaquot@cpaquot-ocl-lc-lnx on 2018/04/16 18:27:17
SWDEV-145570 - [HIP] Set/GetDevice and Create/DestroyTextureObject
	Implemented Set/GetDevice relying on g_context (current context)
	Implemented create linear/2D texture object function
	Implemented hipDestroyTextureObject

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device_runtime.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#4 edit


[ROCm/clr commit: 17d153a162]
2018-04-16 18:37:17 -04:00
Rahul Garg 181e0ee8ee hip_module code cleanup
-Fixed missing ihipLogStatus in hipModuleLoad()
-Fixed some ihipXXX functions


[ROCm/clr commit: c23898f49b]
2018-04-16 15:35:04 +05:30
Aaron Enye Shi 5d295abb55 Fix bug when using older rocr naming (#399)
[ROCm/clr commit: 21382e361c]
2018-04-14 15:47:46 +05:30
foreman a14e3f41ae P4 to Git Change 1541271 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/14 03:00:04
SWDEV-2 - Change OpenCL version number from 2631 to 2632.

Affected files ...

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


[ROCm/clr commit: f510dde1ab]
2018-04-14 03:16:41 -04:00
foreman a920121336 P4 to Git Change 1541197 by skudchad@skudchad_test2_win_opencl on 2018/04/13 17:49:07
SWDEV-145570 - [HIP] -  Add missing HIP APIs and  fill sym table references. The HIP tests can now build if we do a symlink to libhip_hcc.so that we build with VDI in the install folder in github HIP.

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

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_device.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.def.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_hcc.map.in#3 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#5 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_profile.cpp#1 add
... //depot/stg/opencl/drivers/opencl/api/hip/hip_texture.cpp#3 edit


[ROCm/clr commit: aec786cfdb]
2018-04-13 18:19:28 -04:00
foreman 22725d5852 P4 to Git Change 1540998 by gandryey@gera-lnx-rcf on 2018/04/13 11:34:46
SWDEV-150303 - [CQE OCL][Vega10][PAL][QR][DTB-Blocker] Maya 2018 fails to load OpenCL device on Vega10 Lnx-Pro; Faulty CL#1528486
	- Temporarly disable SVM under Linux, until a proper fix for VA reservation will be developed

Affected files ...

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


[ROCm/clr commit: 1e6de03652]
2018-04-13 11:43:02 -04:00
Aaron Enye Shi 03877a5ed2 Fix new gfx target naming convention (#397)
This was introduced in recent xnack changes naming changes which affected our offload bundler. This patch will fix issues in HIP samples, ROCR tests, and others.

[ROCm/clr commit: 199cff2365]
2018-04-13 16:24:39 +05:30
foreman cca810a8e3 P4 to Git Change 1540823 by johtaylo@johtaylo-jtincrementor2-increment on 2018/04/13 03:00:06
SWDEV-2 - Change OpenCL version number from 2630 to 2631.

Affected files ...

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


[ROCm/clr commit: a1956f0a8e]
2018-04-13 03:10:53 -04:00
foreman 39eb0cf136 P4 to Git Change 1540428 by gandryey@gera-lnx-rcf on 2018/04/12 11:38:42
SWDEV-86035 - Keep invisible memory for scratch buffer
	- Currently scratch memory isn't used for compute, but PAL will assert on Local type

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#91 edit


[ROCm/clr commit: f933209ee4]
2018-04-12 12:05:24 -04:00