Commit Graph

26 Commits

Author SHA1 Message Date
Kamil Diedrich ad579be87c Use common definition of UUID for Intel GPUs
This patch will eventaully allow matching UUIDs queried
from NEO with UUIDs queried from other GPU APIs implementations
for Intel GPUs

Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2023-01-11 16:31:05 +01:00
Warchulski, Jaroslaw 77b88f19a1 Cleanup includes 23
Cleaned up files:
opencl/source/execution_environment/cl_execution_environment.h
opencl/source/helpers/cl_validators.h
opencl/test/unit_test/mocks/mock_cl_device.h
opencl/test/unit_test/mocks/mock_context.h
shared/source/helpers/cache_policy.h
shared/source/image/image_surface_state.h

Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-09 12:30:30 +01:00
Kamil Kopryk 468d722efb Move clGfxCoreHelper ownership to rootDeviceEnv
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-05 12:58:38 +01:00
Daniel Chabrowski d68dedba3b Simplify ownership management of MockPerformanceCounters
Fixes clang-tidy warning about ignoring result of release()

Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-07-07 10:42:29 +02:00
Krzysztof Gibala c229ace4df Adjust GmmHelper to be HW aware
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-06-13 18:33:06 +02:00
Filip Hazubski 64aec8dc4e Rename functions
Rename getEngines to getAllEngines
Rename engines to allEngines
Rename getEngineGroups to getRegularEngineGroups
Rename engineGroups to regularEngineGroups

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-13 14:27:02 +01:00
Mateusz Jablonski c16eb0ff84 Correct getGpgpuEngineInstances function
dont expose bcs engine if blitter operations not supported

Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-09 08:36:05 +01:00
Mateusz Jablonski 3f94399dbb Cleanup builtins dependencies
move builtins builders to ClExecutionEnvironment

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-19 17:29:28 +02:00
lgotszal 3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Pawel Cieslak 8a700c5187 Move non-ult shared files to single directory
Add SKIP_SHARED_UNIT_TESTS flag

Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00
Filip Hazubski 90fd102fe5 Update MockDevice
Remove mockMemoryManager and mockCompilerInterface variables.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-01-12 14:44:05 +01:00
Maciej Dziuban 2184ba7ec8 OpenCL Queue Families extension 2/n
Disable CL_QUEUE_CAPABILITY_KERNEL_INTEL capability for copy queues

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-11-25 11:26:06 +01:00
Filip Hazubski 59b74a8ea3 Do not provide -cl-feature option to the compiler
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-17 18:17:34 +01:00
Zbigniew Zdanowicz c678f3d9b0 Make DeviceBitfield argument constant
Related-To: NEO-5225

Change-Id: I14a5a4cc3394cd2b58a74bda183c734a0d17ac25
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-30 13:45:32 +01:00
Zbigniew Zdanowicz 30a67618f8 Add DeviceBitfield argument to CSR constructor
Related-To: NEO-5225

Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-28 17:10:31 +01:00
Slawomir Milczarek eb8f5fa301 Get CL Device Name with device ID appended at the end
Related-To: NEO-4744

Change-Id: I8a9a791a634f9c0c444695036d96e3c959c90de0
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-13 14:00:33 +02:00
Filip Hazubski 60430d79ee Update OpenCL C features reporting to the compiler
Pass features also with -cl-ext option.

Change-Id: I1a1c68b655a2108be51c7d57be771591ee0b14e7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 10:27:30 +02:00
Mateusz Hoppe da3c9dba0e Check SourceLevelDebugger is non-nullptr before use
Change-Id: I0c270158e743ee8d301903d4ad3b6b9815a758b8
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-01 15:25:22 +02:00
Filip Hazubski 45f0bc56bc Add options when building the program
Report "-ocl-version=300" when OCL 3.0 is enabled.
Report "-cl-feature=" with list of supported features.

Related-To: NEO-4368

Change-Id: I9aee559ed53541a0f0c1a2a004926d9d29a53d94
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-06-18 18:54:50 +02:00
Filip Hazubski c3ea485752 Add ClDevice function to query OCL2.1 support
Change-Id: I4a1e7def6b26241592dba4ecd4a6a6cb3bb69835
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-05-08 13:37:19 +02:00
Filip Hazubski 43dba9de4a Move MockDevice to shared
Change-Id: If3a4ea2bb3f47bcb8176516977a626517f25a49f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-03 08:23:06 +02:00
Andrzej Swierczynski 3b4276c8f7 Move AsyncEventsHandler to ClExecutionEnvironment
Related-To: NEO-4207

Change-Id: If859f995aae57ac03de13d57cc5a38c97303bbb4
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-03-31 15:42:07 +02:00
Filip Hazubski b1ab1f0fe6 Update MockClDevice
Change-Id: Ic9a3e01ee309344b1fce450ae362503382095aa5
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-25 16:40:17 +01:00
Filip Hazubski fe851da327 Rename device directory
device directory is renamed to cl_device.

Related-To: NEO-3938

Change-Id: I96794c82632d042da6814550597d805df7bb6436
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-24 14:35:21 +01:00
Filip Hazubski a5c4ad1e2e Remove unnecessary includes from MockDevice files
Related-To: NEO-3938

Change-Id: I3805bcedcdd95828b79e9b6a6bd572f20234d7de
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-19 21:47:34 +01:00
Filip Hazubski 56952113eb Move MockClDevice to a separate file
Related-To: NEO-3938

Change-Id: I1bfeddb0ab68c025312bc3b8eff9571fef909780
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-18 20:16:46 +01:00