Commit Graph

1265 Commits

Author SHA1 Message Date
Ilya Lavrenov 35a0706dff
Replaced several cmake utilities with new ov_ prefix (#19819)
* Replaced several cmake utilities with new ov_ prefix

* Replaced several cmake utilities with new ov_ prefix
2023-09-14 16:22:50 +04:00
Ilya Churaev fa667156cb
Check HolderTests under the proxy (#19785)
* Skip only virtual device tests

* Fixed proxy life time

* Fixed compiled model get property

* Fixed code style

* Try to fix LTO
2023-09-14 15:11:26 +04:00
Edward Shogulin 16adb01810
[LPT] SpaceToBatch & BatchToSpace implementation (#19660)
* [LPT] SpaceToBatch & BatchToSpace implementation

* Update docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step3_main.md

* comments: fixes & refactoring

* rebase fix

* Update docs/IE_PLUGIN_DG/plugin_transformation_pipeline/low_precision_transformations/pipeline/step3_main.md

* rebase fix

---------

Co-authored-by: Karol Blaszczak <karol.blaszczak@intel.com>
2023-09-14 08:16:04 +01:00
Roman Lyamin 5ba60f845e
[GPU] Added zero input support for Pad (#19720) 2023-09-14 09:59:53 +04:00
Mingyu Kim b044757d8c
[GPU] doc update for broken links (#19829) 2023-09-14 13:57:42 +09:00
Ivan Tikhonov d0213301a5
Transformations: API 2.0 transition part 3 for LPT transformations (#19610)
* lpt transformations: transition to api 2.0, ngraph -> openvino

* use ov namespace for lpt transformations

* fix low_precision usings

* includes refactoring

* delete RecurrentGraphRewrite and RecurrentMatcher as unused classes

* use ov header for itt; delete the disabled test

* delete the unused function

* suppress doxygen warning

* fix link in the documentation
2023-09-13 12:30:31 +00:00
Ilya Lavrenov 8cff0697a7
Ability to use RapidJSON as find_package() (#19762)
* Ability to use RapidJSON as find_package()

* Use default features in vcpkg.json
2023-09-13 12:46:40 +04:00
Ilya Lavrenov 08fb0a2722
Removed CMAKE_INSTALL_LIBDIR from oneDNN GPU configuration (#19716) (#19771) 2023-09-13 00:31:14 +04:00
Vladimir Paramuzov 541f2dc62f
[GPU] Fixed static init order for serialization (#19768) 2023-09-13 00:31:05 +04:00
Vladimir Paramuzov 47fe50ca35
[GPU] 2.0 plugin api impl (#18920) 2023-09-12 11:13:59 +04:00
Oleksii Khovan 8e0d8dd36b
[GPU] Pad-12 (#19083)
* GPU primitive and kernel changes to support Pad-12

* Exclude Pad-12 from GPU transformations pipeline

* add unit tests

* add single-layet test for Pad-12
2023-09-12 10:18:04 +04:00
Vladimir Paramuzov 7e3e1e2480
[GPU] Support of int8 compressed weights for matmul (#19548) 2023-09-11 18:11:34 +04:00
Andrew Kwangwoong Park 5604566795
[GPU] Minor fix to get correct input layout for dump layer (#19686)
Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-09-11 12:21:09 +04:00
Andrew Kwangwoong Park 161ba14796
[GPU] Fix GatherND shape agnostic ref kernel (#19706)
Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-09-11 12:20:10 +04:00
Kelvin Choi 2f4f76070f
[GPU] Update strided_slice for partially dynamic shape case (#19467) 2023-09-10 22:44:13 -07:00
Ilya Lavrenov 51d77cb59f
Migrate to ade v0.1.2c (#19714) 2023-09-11 07:15:59 +04:00
Ilya Lavrenov ed230cd879
Fixed build with oneDNN GPU in some Conan scenarios (#19711) 2023-09-09 01:52:58 +04:00
Ilya Lavrenov 1ef9cc70b5
Fixed compilation with gcc-13.2 (#19689) 2023-09-08 18:39:24 +04:00
Mateusz Tabaka a55b5381d3
Move BroadcastTransition to MOC (#19543)
* Move BroadcastTransition to MOC

Broadcast that could be eliminated by BroadcastElementwiseFusion are moved down the graph
(by BroadcastTransition registered in the plugins). That prevents BroadcastElementwiseFusion
to eliminate them.

Ticket: CVS-118899

* dont count const layers

* remove virtual inheritance
2023-09-08 11:05:54 +04:00
Jade Cho e2b553302b
[GPU] Use preferred output format if node impl type is onednn (#19601)
+ Changes to use preferred format in both cldnn and onednn for gemm and
FC when shape inferencing.
2023-09-08 15:56:40 +09:00
Sergey Shlyapnikov 4eb9c57424
[GPU] Add input feature leftovers processing for fully_connected_gpu_bs_f_bsv16_af8_vload kernel (#19650) 2023-09-07 13:20:11 +04:00
Taylor Yeonbok Lee 4124851d2b
Revert "[GPU] Fixed reordered memory cache not to contain original weight memory (#19465)" (#19659)
This reverts commit e8f1df495c.
2023-09-06 22:35:00 -07:00
David Nam cb479f4a5d
[GPU] No need to add reorder after strided_slice (#19411) 2023-09-06 11:43:51 -07:00
Sungeun Kim b7758b0504
[GPU] update the data-type of primitive from ops (#19302)
* set the data-type of transpose by dt of ops.
* set output_data in calc_output_layouts
2023-09-06 13:30:53 +09:00
Ilya Churaev 1d62f0141d
Rename cmake ie_ macros and ie_parallel script (#19606)
* Rename cmake ie_ macros and ie_parallel script

* Add warning messages
2023-09-05 19:31:52 +02:00
Vladimir Paramuzov 77600c7701
[GPU] Add FullyConnected custom op (#19539) 2023-09-05 16:47:05 +04:00
Mingyu Kim 3d679edf18
[GPU] Remove propagate_constants pass at pre_optimize_graph stage (#19323)
Co-authored-by: Lyamin-Roman <roman.lyamin@intel.com>
2023-09-05 16:37:31 +04:00
Vladimir Paramuzov 2f782b2131
[GPU] Add permute primitive instead of manual copy for deconv weights (#19516) 2023-09-04 17:03:49 +04:00
Ilya Lavrenov 3bc38695c5
A set of fixes for Conan C++ package manager (#19552) 2023-09-04 11:32:39 +04:00
Tomasz Jankowski 51df17912b
[Ref_Impl] Change namespace from nG to OV (#19363)
* Use quotes for openvino includes

* Drop runtime from openvino::reference

* Drop runtime::reference

* Replace ngraph::reference with ov::reference - defs

* Replace ngraph::reference with ov::reference - uses

* Drop redundant nesting

* Fix non arch64 builds

* Move coordinate*pp files under openvino

* Move Coordinate... helpers under ov:: namespace

* Revert not needed changes

* Fix missing namespace scope

* Fix compilation

* Fix code style

* Use ov suppress deprecated macro instead of ngraph

---------

Co-authored-by: Raasz, Pawel <pawel.raasz@intel.com>
2023-09-04 08:07:06 +04:00
Andrew Kwangwoong Park 92c6316e8e
[GPU] Fix input feature map indexing with pad and batch indices for ROIAlign (#19511)
* [GPU] Fix input feature map indexing with pad and batch indices for ROIAlign

* Fix failed TCs for ov_gpu_func_tests

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Fix to do batch interpretation for inconsistency between ROIALign input and const 1D tensor

Signed-off-by: Andrew Park <andrew.park@intel.com>

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-09-01 12:43:23 -07:00
Vladimir Paramuzov 38cad619af
[GPU] Allow simple attached mem as input memory for network (#19419) 2023-09-01 09:54:30 +04:00
Steve Yoo 05a24b1776
[GPU] Try to use softmax_ref when types are mismatched (#19209)
* Remove support key for UINT8 and INT8
2023-08-31 16:39:36 -07:00
Taylor Yeonbok Lee e8f1df495c
[GPU] Fixed reordered memory cache not to contain original weight memory (#19465)
* Fixed reordered memory cache not to contain original weight memory

* Applied review comment

* Applied review comment
2023-08-29 21:54:32 -07:00
Wilson Seok 94c21b53b3
fix build error by removing makeDynamicParam (#19431) 2023-08-28 12:10:05 +02:00
Wilson Seok 293c672064
add sqrt activation support in cpu_impl (#19421) 2023-08-25 12:10:01 -07:00
Wilson Seok f6dca869b2
fix reduce perferred format selection and layout for partial shape (#19319) 2023-08-25 12:09:25 -07:00
Min, Byungil bcedb0bb9b
[GPU] Resolve accuracy issue from clamp fused prims (#19409)
+ Added condition when clamp activation is added to fused-ops for fp16 overflow
+ Added test-cases

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-08-25 11:21:09 -07:00
Wilson Seok f962511a84
[GPU] add check condition of input dynamic shape in conv fusing (#19219) 2023-08-25 16:13:53 +04:00
Vladimir Paramuzov a45e5e03c5
[GPU] Added some formats for pvc (#19388) 2023-08-25 15:09:42 +04:00
Tomasz Jankowski bcad953f5f
[Ref_Impl] Rename file paths to openvino relative (#19284)
* Move files to new directories

* Use quotes for openvino includes

* Provide proxy calls for transition

of dependant components.

* Correct includes style

* Redo proxies

* Fix deprecated

* Move aliases to proxy files

* Apply code style
2023-08-25 06:43:06 +04:00
Kelvin Choi ce47522165
[GPU] Memory reuse false for dynamic and null impl case (#19354) 2023-08-24 17:32:07 +09:00
Kelvin Choi c89b9edfe7
[GPU] 7-dimention only supports plain format (#19039)
* Skip concat_input_order opt in case dependancy is dynamic

* Add plain 7d 8d case for jitter pitch size
2023-08-23 20:00:02 -07:00
Paul Youngsoo Ahn 99cc3624b7
[GPU] Fix accuracy issue (#19351)
- [scatter_update] Use input index for input buffer instead of output index
- [concat cpu impl] Sync input layout and mem_ptr when input host tensor creation
- Add unit tests for scatter_update and concat cpu impl
2023-08-23 17:57:18 -07:00
Oleg Pipikin ab900606cd
Remove makeDynamicParams (#19226)
* Remove makeDynamicParams

* Apply comments

* Fix1

* Fix2

* Fix3
2023-08-23 18:57:29 +02:00
Vladimir Paramuzov 3b2e263879
[GPU] Fix reshape optimization (#19270) 2023-08-23 10:25:04 +00:00
Oleg Pipikin 7aa51d6775
Remove makeParams (#19306) 2023-08-23 11:39:05 +04:00
Oleg Pipikin de65abc6b3
Remove WA for vpu repo with CommonTestUtils namespace (#19275) 2023-08-22 13:03:45 +00:00
Sergey Shlyapnikov 7df8d1ca2d
[GPU] Add per iteration performance profiling mode (#18637) 2023-08-22 12:37:36 +02:00
Vladimir Paramuzov 526d76c81f
[GPU] New headers and namespaces in some parts (#19229) 2023-08-18 15:57:15 +04:00
Jade Cho 2394732055
[dGPU] Use cldnn concat if data type is fp32. (#19240) 2023-08-17 09:14:26 +00:00
Min, Byungil 1b9de79d0d
[GPU] Resolve fp16 overflow of mul (#19173)
+ Fixed black output image by Nan output.
+ Resolved fp16 overflow of gemm primitive before softmax
+ Added fused post ops of clamp activation not to get inf which caused Nan output
+ Added new pass modify_fused_ops

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-08-17 18:09:10 +09:00
Andrei Gorbachev 49bbcb4cf6
[ПЗГ] fix coverity (#19204) 2023-08-17 12:46:35 +04:00
Wilson Seok b656feee57
[GPU] fix priorbox legacy code in CreateOp() and allow to use max_size is null (#19143) 2023-08-16 17:54:04 +04:00
Min, Byungil ef6c8c1d66
[GPU] Make gemm_tiled_opt support outer axis (#19210) 2023-08-16 16:43:47 +04:00
Andrew Kwangwoong Park 8a0a4df941
[GPU] Fix unintentional expansion of pad's rank into 2D (#19106)
* [GPU] Fix unintentional expansion of pad's rank into 2D

* Add explicit 1d pad TCs for ov_gpu_unit_tests
2023-08-16 14:29:00 +09:00
Roman Lyamin 188434e969
[GPU] image_2d_weights_winograd_6x3_s1 formats fix (#19205) 2023-08-16 08:59:43 +04:00
Sergey Shlyapnikov d13ae31a61
[GPU] Allow to use infinity value as a Pad's fill value (#19201) 2023-08-15 14:31:49 +00:00
Eddy Kim 0194cdce3b
[GPU] updated to add reorder after parameter when it is connected to quantize (#19182)
* updated to add reorder after parameter when it is connected to quantize

* removed redundant code
2023-08-14 23:29:49 -07:00
Roman Lyamin 9be28328bf
Added giy_xs_os_xsv2_osv8__ao32 format to to_weights_layout map (#19181) 2023-08-15 08:49:50 +04:00
Paul Youngsoo Ahn e2db808495
[GPU] Fix multiple output issue in get_output_layout(#19186) (#19186) 2023-08-14 20:49:21 +00:00
Sergey Shlyapnikov 86c4c6785d
[GPU] Don't invalidate users after reorder insertion (#19137) 2023-08-14 14:16:54 +04:00
Mingyu Kim 4e96b6ba9d
[GPU] Do not select onednn format for asymmetric weight (#19140)
OneDNN does not support asymmetric weight.
2023-08-14 12:59:07 +09:00
Ilya Lavrenov 6067ab17ba
Aligned target and files (libraries) names (#19161) 2023-08-13 11:31:44 +04:00
Mingyu Kim c1c4c4cd51
[GPU] Onednn version update to latest 3.2 (#19135) 2023-08-11 17:41:41 +09:00
Vladimir Paramuzov cde0893271
[GPU] Use ov::Tensor intead of ngraph::HostTensor (#18925) 2023-08-10 09:43:45 +00:00
Eddy Kim 9deef1480a
updated to init onednn attr (#19055) 2023-08-10 07:38:32 +00:00
Sergey Shlyapnikov 32a6a31de2
[GPU] Prevent Conv's input data type changing at reorder_inputs pass (#19042) 2023-08-10 10:59:32 +04:00
Sergey Shlyapnikov d91d72c89c
[GPU] RandomUniform new shape inference for dynamism support (#19087) 2023-08-10 09:43:08 +04:00
hyunback kim f683fabcbf
[GPU] Add Disable Winograd convolution debug config. (#18701)
Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-08-10 10:58:57 +09:00
Roman Lyamin 575f497c8b
[GPU] Fix data race in CompilationContext (#19103) 2023-08-10 00:50:49 +00:00
Roman Lyamin 2d5a4e20ec
[GPU] Fix premature termination of async compilation task in tests (#19035) 2023-08-09 12:47:06 +04:00
Roman Lyamin 7d89c93ded
[GPU] Added gi_yxs_os_yxsv2_osv16 format to to_weights_layout map (#19074) 2023-08-09 12:03:48 +04:00
Andrew Kwangwoong Park df659daf44
[GPU] Add reorder if the input format of eltwise is different from the output format (#19068)
* [GPU] Add reorder if the input format of eltwise is different from the output format

* Fix failed TCs for eltwise's mixed layout
2023-08-08 23:21:54 -07:00
Kelvin Choi e60da26894
[GPU] Support dynamic BatchToSpace and SpaceToBatch (#18630) 2023-08-09 05:56:55 +00:00
David Nam a8f4e114f3
[GPU] Check if padding is supported for static shape when buffer fusing (#18861)
* [GPU] Check if padding is supported even for static shape when buffer fusing

* Add unit test

* Remove unnecessary logic
2023-08-08 22:15:56 -07:00
hyunback kim 58bd8e7f0b
[GPU] Add disable winograd convolution in execute_config. (#18964)
* [GPU] Add disable winograd convolution in execute_config.

Signed-off-by: hyunback <hyunback.kim@intel.com>
2023-08-09 13:32:36 +09:00
Sergey Shlyapnikov e7565eda3e
[GPU] Added paddings processing for dynamic convolutions primitives; enabled convolution osv16 optimized shape agnostic kernel (#19001) 2023-08-08 14:57:54 +02:00
Min, Byungil 70e88c6b23
[GPU] Add reorder to avoid perf drop by using mvn_ref kernel (#18871)
+ Added is_padded_spatial to program_node
+ Added reorder to remove padded input in spatial axis for mvn
+ case applied only for blocked formats of implemented mvn opt kernel

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-08-08 16:04:54 +09:00
Kelvin Choi b83389a557
[GPU] Support non constant input of split length for variadic split (#18898) 2023-08-07 21:26:54 -07:00
Jade Cho e5e944ccc2
[dGPU] Copy data from gpu_buffer to gpu_usm (#19010)
* [dGPU] Copy data from gpu_buffer to gpu_usm

* Add a unit test.
2023-08-08 11:47:22 +09:00
Andrew Kwangwoong Park a2807f1edb
[GPU] Add debug config for disabled primitive fusing (#18938)
* Add debug config for disabled primitive fusing

* Apply comment

* Fix failed TCs on CI
2023-08-07 18:02:48 -07:00
Eddy Kim d278ff5786
[GPU] updated to enqueue only fully_connected layers for async build (#18891)
* updated to enqueue only fc for async build

* updated use_async_compilation(), make_task_executor_config() and disabled gemm_onednn.impl_replacement_with_cldnn

* added _num_async_build_threads

* added gemm to the async compliation targets
2023-08-08 09:27:35 +09:00
Andrei Gorbachev 36309938d9
[Coverity] fix coverity (#18784)
* fix CVS-112758

* fix CVS-114053

* fix CVS-116203

* fix CVS-112785 part 0

* fix CVS-112785 part 1

* fix CVS-112785 part 2

* fix CVS-112785 part 2+

* Update src/plugins/intel_gpu/src/plugin/ops/gather.cpp

Co-authored-by: Roman Lyamin <Roman.Lyamin@intel.com>

* fix CVS-112785 OPENVINO_ASSERT

* add suggestion

* fix CVS-112785

---------

Co-authored-by: Roman Lyamin <Roman.Lyamin@intel.com>
2023-08-04 14:38:06 +00:00
Edward Shogulin b76fc24824
[LPT] Unexpected quantisation level fix (#18888)
* [LPT] Unexpected quantisation level support

* [LPT] Unexpected quantisation level support - extension for weights

* [LPT] Unexpected quantisation level support - extension for weights + tests

* refactoring: compilation fix
2023-08-04 15:02:12 +01:00
Andrew Kwangwoong Park a3bb0a8cc7
Restore disable_memory_reuse initialization (#18987) 2023-08-04 12:53:09 +00:00
Ivan Tikhonov 5f6aba5ec5
Update ResolveNameCollisions to handle all friendly names, not only auto-generated (#18948)
* Update ResolveNameCollisions transformation to handle all friendly names, not only autogenerated

* codestyle
2023-08-04 13:38:59 +04:00
Taylor Yeonbok Lee 08ab7f4ab5
Removing blocking enqueuememcpy (#18977) 2023-08-04 02:46:41 +00:00
Kelvin Choi 561f71d86c
[GPU Enable dynamism for grid_sample (#18953) 2023-08-03 11:09:07 -07:00
Wilson Seok bdab260131
[GPU] Fix priorbox constant propagation (#18842)
* removed priorbox in mark_if_constant

* fix priorbox operation for dynamic shape

* restore share test classes and disabled the test cases

* add exception throw for PriorBoxClustered
2023-08-03 10:39:56 -07:00
Wilson Seok 3a1f45e70e
[GPU] fix normalize dynamic shape support (#18956)
* fix normalize dynamic shape support

* remove redundant code
2023-08-03 10:37:41 -07:00
Andrew Kwangwoong Park 1501e29cfe
[GPU] Allow StridedSlice as predecessor for in place concat (#18836)
* Allow StridedSlice as predecessor for in place concat

* Enable padding support for strided slice

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add prepare_buffer_fusing TC for ov_gpu_unit_tests

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-08-03 05:50:26 +00:00
Taylor Yeonbok Lee 31e46ea255
[GPU] Skip reorder at runtime if data type and format are not changed (#18859)
* Skip reorder at runtime if data type and format are not changedt

* Update shape of reorder user at predecessor node so that we can allocate pred nodes' output to host mem if needed

* Reinterpret reorder memory at runtime if needed
(e.g., input is fake-aligned fc and reorder uses that memory)

* Add debug config

* Fix CI test failure

* Do not skip after optimized reshape

* Do not skip user reorder if the user reorder is output and current node is static, and the memory is allocated to device

* Disable skip reorder user if current node has fused node

* Update src/plugins/intel_gpu/src/graph/include/reorder_inst.h

Co-authored-by: Eddy Kim <eddy.kim@intel.com>

* Minor fix for compilation error

* Do not skip reorder if the reorder's user is optimizable concat

* Fix CI failures

* No need to wait for input_layout because the events is already resolved in dgpu

* Fixed corner case where only some of the multiple output layouts are static

---------

Co-authored-by: Eddy Kim <eddy.kim@intel.com>
2023-08-02 20:59:52 -07:00
Wilson Seok d51fc7adad
add num_classes=-1 support in cpu_impl of detection_output (#18924) 2023-08-02 11:37:19 -07:00
Eddy Kim 9e9cf72973
updated to reset variable memory when shape is changed (#18941) 2023-08-02 11:24:58 -07:00
Eddy Kim 1fd598c303
onednn-gpu update to fix caching issue (#18935) 2023-08-02 11:14:30 -07:00
Wilson Seok 86b8e0a930
[GPU] Add autopad option in CreateOp of groupconvolution (#18897)
* add autopad option in CreateOp of groupnormalization

* add autopad option in CreateOp of GroupConvolution
2023-08-01 20:41:05 -07:00
Taylor Yeonbok Lee db8c29ee6f
[GPU] Release unused internal memory from pool (#18917)
* * Not to reuse internal memory for dynamic shape because of the current inefficiency in the pool
* Added a new debug config for dump runtime memory pool

* Apply DisableMemoryReuse for all usages

* Resolved perf issue of memory reuse from pool : Previously original ibuf record was not released when we allocate new memory for that buf.
After releasing the memory, # of the memory pool record does not increase => no longer inefficient memory pool retireval.

* Added test
2023-08-01 20:25:05 -07:00
Pawel Raasz 9067a1fead
Review NMS, MatrixNms shape inference (#18869)
* Review NMS shape inference

* Fix test issues

* Review MatrixNms shape inference

* Unregister NMS with dynamic output from CPU plugin
2023-08-01 19:44:55 +04:00
Taylor Yeonbok Lee 974ef62ce6
[GPU] Do weight reorder for fc shape agnostic kernels at build time (#18829)
* Do weight reorder at build time

* Add test
2023-08-01 03:40:06 +00:00
Oleg Pipikin c52afe8032
Refactor func test utils (#18849) 2023-07-31 16:22:32 +02:00
Yaroslav Torziuk 86bd5a4e2b
[GPU] Interpolate v11 GPU reference implementation (#18472)
* Extract axes normalization and validation in separate functions in Interpolate op

* Update resample primitive declaration

* Update output layout calculation for Interpolate v11

* Update Interpolate op builder

* Add a shared test instance for Interpolate from 11th opset

* Add basic tests for Interpolate from opset 11

* Add new resample types and appropriate flags in ParamsKey

* Replace map which holds axes and scales with two separate vectors in resample_params

* Add resample kernel implementation
2023-07-31 05:41:21 +02:00
Jade Cho c0783f16ed
[dGPU] Enable user scratchpad mode for onednn primitive. (#18699)
* [dGPU] Enable user scratchpad mode.
* Reuse intermediate buffer.
* Add own id to the memory dependencies at the c-tor of program_node
+ Allocate intermediate memory with memory_pool::get_memory() function.
+ Assign scratchpad memory desc in load() function for onednn primitive
serialization
* Allocate device mem for onednn scratchpad mem
2023-07-30 23:13:45 +09:00
Pavel Esir 5113900350
[GPU] Fuse MVN before ConvertPrecision (#18845) 2023-07-28 20:05:05 +02:00
Vladimir Paramuzov 3e0b4b337b
[GPU] LUID property added (#18815) 2023-07-28 19:16:25 +04:00
Vladimir Paramuzov 9177809bd7
[GPU] Fixed removal of reorder connected to non-default out port (#18826) 2023-07-28 14:55:46 +04:00
David Nam 1fcdc90989
Modify the condition making batch interpretation true/false (#18283)
* Modify the condition making batch interpretation true/false

- When the user is Convert for Constant node, and tensor is 1d,
- Set needBatchInterpretation to true

* Narrow down the range of the condition

* Merge the condition

* Add additional condition not to check self node

* Fix incomplete condition

* Check if all inputs to binary eltwise is 1d

* Change code style
2023-07-27 22:42:07 -07:00
Andrew Kwangwoong Park aba2770921
[GPU] Do not add post reorder for inputs if data type does not change (#18797)
* Remove reorders of inputs for KV cache

* Fix failed CI TC for ov_gpu_func_tests
2023-07-27 20:50:04 -07:00
Taylor Yeonbok Lee acb7e870ce
Add new debug config disable_memory_reuse (#18792) 2023-07-27 21:45:34 +00:00
Sergey Shlyapnikov 2bd49cc1f8
[GPU] Add extra flush() command for dynamic models and OOO queue (#18819) 2023-07-27 16:15:37 +04:00
Mingyu Kim 416fdddd34
[GPU] bugfix for copy_from (#17993) 2023-07-27 11:47:40 +09:00
Min, Byungil 83a78eb559
[GPU] Improvement for buffer dump (#18542)
* [GPU] Improvement for buffer dump

+ added OV_GPU_DumpLayersInput to support dump input layers
+ added OV_GPU_DumpLayersRawBinary to make binary dump
+ added OV_GPU_LoadDumpRawBinary to use binary dump as input
+ binary dump naming rule layername_datatype_tensor_format.bin

Signed-off-by: Min, Byungil <byungil.min@intel.com>
2023-07-27 11:11:34 +09:00
Taylor Yeonbok Lee c145d8f1e9
[GPU] Allocate reorder & permute's output memory for bounded dynamic shape (#18793)
* Previously reorder / permute was not allocating its memory at build time thought the shape has upper bound

* Update src/plugins/intel_gpu/src/graph/permute.cpp

Co-authored-by: Sergey Shlyapnikov <Sergeishlyapnikov@gmail.com>

* Fix as review comment

---------

Co-authored-by: Sergey Shlyapnikov <Sergeishlyapnikov@gmail.com>
2023-07-27 02:08:58 +02:00
Oleg Pipikin ff0b51f3ca
Rename CommonTestUtils namespace (#18590)
* Rename CommonTestUtils namespace 1

* Rename CommonTestUtils namespace 2

* Rename CommonTestUtils namespace 3

* Rename CommonTestUtils namespace 4

* Fix1

* Fix2

* Fix3

* Apply comments

* Fix4

* Fix5
2023-07-26 21:06:50 +02:00
Sergey Shlyapnikov 7f917446c2
[GPU] Force ov::enable_profiling if OV_GPU_DumpProfilingData debug option is used (#18687) 2023-07-26 13:32:30 +04:00
Nadezhda Ageeva 97b4b13074
Adds ov::internal::exclusive_async_requests in ov::internal::supported_properties (#18746)
* Adds ov::internal::exclusive_async_requests into ov::internal::supported_properties

* Update HETERO tests for ov::internal::exclusive_async_requests
2023-07-26 09:43:21 +04:00
Pawel Raasz 5a4cf4c8b6
Review ReorgYolo class for shape inference aspects (#18633)
* Add static shape adapter
- Adapters holds CPU dimension which can be reference to it or vector
- Add ov::optional for holding optional result from shape inference
- Add new `infer` function in `IStaticShapeInfer`

* Temporary support of StaticShape

* Minor corrections in ShapeInferenceTA

* Migrate shape_infer to new interface version

* Replace StaticShape by adapter implementation

* Replace IShapeInferCommon by IStaticShapeInfer

* Correct code formatting

* Fix build issues

* NodeValidationFailure::create for StaticShapeRef

* Review ReorgYolo op for shape inference
- Check partial shape and label propagation
- Check shape_infer implementation
- Update tests for static and dynamic shapes

* Change dim::is_valid to dim::is_empty
2023-07-25 18:51:17 +02:00
yanlan song ff3399a87a
enable auto handle GPU.invalid_index case (#18658)
* let auto handle GPU.valid_index case

Signed-off-by: fishbell <bell.song@intel.com>

* resolve merge conflict

Signed-off-by: fishbell <bell.song@intel.com>

* add suppress macro

Signed-off-by: fishbell <bell.song@intel.com>

* revert changes

Signed-off-by: fishbell <bell.song@intel.com>

* update case

Signed-off-by: fishbell <bell.song@intel.com>

---------

Signed-off-by: fishbell <bell.song@intel.com>
2023-07-25 15:31:53 +08:00
Andrei Gorbachev 02ebdcbb8f
[Coverity] fix uninitialized scalar field (#18751)
* fix Uninitialized scalar variable

* fix CVS-116194

* a few fix

* fix Uninitialized scalar variable

* fix CVS-116194

* a few fix

* rm dead code
2023-07-25 10:57:28 +04:00
Ilya Churaev 29ca4b99c5
Add property to configure internal name under the proxy plugin (#18727) 2023-07-25 09:22:02 +04:00
Andrew Kwangwoong Park dfb1493f2f
[GPU] Update ReorgYolo to use nGraph shape inference (#18663)
* Update ReorgYolo to use ngraph shape infer

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add dynamic TCs for ov_gpu_func_tests

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add shape infer TCs for ov_gpu_unit_tests

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Apply comments

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Fix clang-format

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Fix conflict

Signed-off-by: Andrew Park <andrew.park@intel.com>

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-07-25 02:47:27 +02:00
Taylor Yeonbok Lee ce729761d6
Add new debug config "DisableRuntimeBufferFusing" (#18726) 2023-07-24 23:56:21 +02:00
Sergey Shlyapnikov 42237bcbdb
[GPU] Optimize update_shape synchronization for OOOQ and prohibit memory reuse for shape_of-subgraph nodes (#18742) 2023-07-24 11:34:19 -07:00
Paul Youngsoo Ahn 080ae32a8b
[GPU] Fix cl kernel build error (#18513)
* [GPU] Fix cl kernel build error(#18513)

* [GPU] Rollback cl kernel code change and add type converions to activatino function)

* [GPU] Use output data type instead of unit type in MakeActivationJitConstants

* [GPU] remove unused code and add comments
- add unit test
2023-07-24 10:45:02 -07:00
Pawel Raasz 5eab1be682
Migrate shape infers to new `IStaticShapeInfer` API (#18579)
* Add static shape adapter
- Adapters holds CPU dimension which can be reference to it or vector
- Add ov::optional for holding optional result from shape inference
- Add new `infer` function in `IStaticShapeInfer`

* Temporary support of StaticShape

* Minor corrections in ShapeInferenceTA

* Migrate shape_infer to new interface version

* Replace StaticShape by adapter implementation

* Replace IShapeInferCommon by IStaticShapeInfer

* Correct code formatting

* Fix build issues

* NodeValidationFailure::create for StaticShapeRef
2023-07-24 15:59:18 +02:00
Ilya Lavrenov 86c68fffe4
Removed Intel Myriad headers from new API (#18736)
* Removed Intel Myriad from new API

* Renamed GPU unit tests
2023-07-24 16:20:08 +04:00
Andrew Kwangwoong Park 581d12965b
[GPU] Minor fix for dynamic model (#18715)
Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-07-24 09:33:30 +04:00
Wilson Seok 90e3e85233
fix null impl case for optimized concat (#18714) 2023-07-23 21:55:53 -07:00
Andrew Kwangwoong Park 2c889c8b5e
[GPU] Update RegionYolo to use nGraph shape inference (#18657)
* Update RegionYolo to use ngraph shape infer

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add dynamic TCs for ov_gpu_func_tests

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add shape infer TCs for ov_gpu_unit_tests

Signed-off-by: Andrew Park <andrew.park@intel.com>

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-07-23 21:55:21 -07:00
Wilson Seok 627d5e6135
[GPU] PriorBox dynamic shape support (#18494)
* initial commit

* add func test case

* add func test file

* add runtime update of output_size and img_size

* fix cl kernel build error

* fix functional test bug

* add func test cases

* fix compile error

* use simple value instead of tensor

* remove redundency code

* removed mutable and add comment

* fix typo

* fix cpplint error

* simplified priorbox constructor

* removed redundant include

* update vector handling for impl_param.output_size and img_size
2023-07-23 17:59:28 -07:00
Andrew Kwangwoong Park 7fc1fd155d
[GPU] Add debug config for disabled dynamic implementation (#18661)
* Add debug config for disabled dynamic impl

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Apply comment

Signed-off-by: Andrew Park <andrew.park@intel.com>

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-07-21 16:33:44 -07:00
Mykhailo Hnap 7f183f0e2f
[GPU] Added TopK-11 operation support. (#18294)
* Added TopK-11 operation support.

* Created separate GPU test.
2023-07-21 13:36:43 -07:00
Andrew Kwangwoong Park 53b2a02a0e
[GPU] Dynamism support for DetectionOutput (#18625)
* Update op creation for DetectionOutput-8 w/o num_classes attribute

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Update DetectionOutput to use ngraph shape inference

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add dynamic TCs for ov_gpu_func_tests

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Fix issues for detection output cpu impl selection on dynamic shape

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Update detection_output primitive API and funcs for serialization

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Add shape infer TCs for ov_gpu_unit_tests

Signed-off-by: Andrew Park <andrew.park@intel.com>

* Fix build failure in azure pipeline

Signed-off-by: Andrew Park <andrew.park@intel.com>

---------

Signed-off-by: Andrew Park <andrew.park@intel.com>
2023-07-20 16:49:09 -07:00
Mateusz Tabaka fe8b8a96ff
Handle sequence ops with non constant W, R, B inputs (#18138)
* Handle sequence ops with non constant W, R, B inputs

Ticket: CVS-49207

* fix tests

* tests

* fix gna tests

* add include

* change type for seqLenIdx

* rename is_constfoldable to is_on_constant_path

---------

Co-authored-by: Ivan Tikhonov <ivan.tikhonov@intel.com>
2023-07-20 14:48:41 +04:00
Kelvin Choi 9254c74362
[GPU] Set offsets of variadic split for static (#18469) 2023-07-20 09:26:42 +00:00
yanlan song a51d9494fa
support context in auto and re-enable tests (#18554)
wrap hardware remote context to compiled model

Signed-off-by: fishbell <bell.song@intel.com>
2023-07-20 06:53:07 +00:00
Taylor Yeonbok Lee 7167473744
[GPU] Reduce clfinish io and allow input reorder to use device mem (#18596) 2023-07-20 10:39:39 +04:00
Mingyu Kim b7b740beb5
[GPU] Disable permute_f_y_axis because of accuracy issue (#18647)
* [GPU] Disable permute_f_y_axis because of accuracy issue

* [GPU] Disable tests too
2023-07-20 04:10:42 +00:00
Xuejun Zhai ba76b45194
[AUTO BATCH PLUGIN] enable api 2.0 for auto batch plugin (#18172)
* [AUTO BATCH PLUGIN] enable API 2.0 for auto batch plugin

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] disenable auto batch plugin unite test for tmp

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] remove test with ov::auto_batch_timeout(-1), cause the variable is unsigned int

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix compiler error caused by std::atomic_uint32_t

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [Remote Context] fix revew comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix compiler warnings

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix compiler warnings

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix test error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix CI test error in cpu func test case, caused by batched model lost rt info

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix CI build error, caused by unused variable

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] using ov::threading

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] clear code in batched req share buffer with non-batched req

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] clean code & fix format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] clean code & fix format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] add api implementation about get_default_context() & create_context() and remove the test config with AUTO_BATCH_TIMEOUT(-1)

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix gpu test with auto btch failed

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix warning

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix get_default_context() issue

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix using namespace redundancy

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] modify variable naming style

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix CI test error, cause by tensor reference in virtual plugin

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] implement get_profiling()

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] remove get_context() from auto batch compiled model using the interface from parent class

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] implement create_context() & get_default_context for auto batch plugin

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix format issue

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] implement auto batch remote context

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix error after merge with master

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix compiler error caused by update master

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] refact remote context in auto batch plugin

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] add unite test cases for auto batch plugin

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix CI warning caused by unused variable & add unite of remote context

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] add virtual property for get_context() in icompiled_model & implement it in auto batch plugin

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] add ov::loaded_from_cache support

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix error caused by updating with master

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix unite test error

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix conflict

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix error caused by update master

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

* [AUTO BATCH PLUGIN] fix review comments

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>

---------

Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
Signed-off-by: xuejun <xuejun.zhai@intel.com>
2023-07-20 07:02:45 +04:00
Pavel Durandin 9d28dfd79d
[GPU] Reorder weights refactoring (#17787) (#18540)
* [GPU] Reorder weights refactoring (#17787)

* [GPU] Fix DG2 with weights optimization

* [GPU] Fix DG2 with weights optimization

* [GPU] Fix DG2 with weights optimization

* [GPU] Fix DG2 with weights optimization

* [GPU] Fix inner order description for some of formats

* [GPU] Fix  expected number of primitives in test

---------

Co-authored-by: Roman Lyamin <Roman.Lyamin@intel.com>
Co-authored-by: Sergey Shlyapnikov <sergey.shlyapnikov@intel.com>
2023-07-19 09:26:02 +04:00
OlehKravchyshyn f0abd468a2
[GPU] Permute f and y axes (#13561)
* [GPU] Permute f and y axes

It is supported cases where y and f (and X if it is not equal 1) axes size divisible by 4,8 or 16.
added kernel to switch f and y axes in 4d model blocked and planar formats
added test fot tests

* Added subgroup read/write to THREE_DIM_TRANSPOSE kernel case.

* Better checking of is SIMD size supported.

* Added support for long type to subgroup read/write.

* Added subgroup read/write support to 2d permute.

* Fixed win build issue.

* Changed f and y indexes in iteration.

* Added vector read/write.

* Fixed j_times calculation.

* Better naming.

* Rollback test logic.

* Fixed fusion logic.

* Accept only supported blocked layouts and SIMD sizes.

---------

Co-authored-by: Mykhailo Hnap <mykhailo.hnap@capgemini.com>
Co-authored-by: Wilson Seok <wilson.seok@intel.com>
2023-07-18 11:48:25 -07:00
Jade Cho 4d777bd65b
[GPU] Copy from usm_host memory to cl_mem memory. (#18555) 2023-07-18 11:27:21 +09:00
Sergey Shlyapnikov 3958f771da
[GPU] Add oneDNN primitives profiling support (#17785)
* [GPU] Add oneDNN primitives profiling support

* [GPU] Add stream.wait() method to prevent caches flushing and other possible impacts of finish() call

* Add comment for wait() usage
2023-07-17 19:17:31 +04:00
Oleg Pipikin b211767280
Consolidate common test utils targets (#18385)
* Consolidate test util targets

* Fix code style

* Fix 1

* Fix code style
2023-07-17 11:59:13 +00:00
Vitaliy Urusovskij aeff5056f5
Hetero 2.0 leftovers (#18559)
* Enable `LoadedTensor.*HETERO` test

* Fix use of `ICompiledModel::outputs()`

* Remove extra `loaded_from_cache` argument

* Misprint

* Small refactoring

* Remove extra `model` from `CompiledModelDesc`
Use `get_runtime_model()` instead

* ClangFormat
2023-07-17 11:58:44 +04:00
Eddy Kim 2c73916093
[GPU] fix compilation context to use kernel_impl_params as key (#18470)
* fixed aompilation context to use kernel_impl_params for key

* fixed the argument for push_task
2023-07-17 00:48:12 -07:00
Vladimir Paramuzov 325d02b760
[GPU] Use stream executor and exceptions from new api (#18531)
* [Common] Handle ov::Exception too in CompiledModel wrapper

* [GPU] Use new threading and exception interfaces where possible
2023-07-14 20:51:40 +02:00
Sungeun Kim 181238bcfb
[GPU] Move unit test file to the proper location (#18545) 2023-07-14 14:19:56 +04:00
Andrew Kwangwoong Park 38913f2184
[GPU] Add debug config for disabled async compilation (#18535) 2023-07-14 10:42:03 +04:00
Andrew Kwangwoong Park 3f67b3948d
[GPU] Dynamism support for Proposal (#18489) 2023-07-14 10:28:56 +04:00