Skip to content

Commit a979879

Browse files
refactor: Add new device type to ocloc help
Signed-off-by: Daria Hinz <[email protected]> Related-To: NEO-7903
1 parent b22f3f0 commit a979879

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

shared/offline_compiler/source/offline_compiler.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,10 +880,11 @@ Usage: ocloc [compile] -file <filename> -device <device_type> [-output <filename
880880
OpenCL C kernel language).
881881
882882
-device <device_type> Target device.
883-
<device_type> can be: %s, version or hexadecimal value with 0x prefix
883+
<device_type> can be: %s, ip version or hexadecimal value with 0x prefix
884884
- can be single or multiple target devices.
885-
The version is a representation of the
886-
<major>.<minor>.<revision> value.
885+
The ip version can be a representation of the
886+
<major>.<minor>.<revision> or a decimal value that
887+
can be queried using the L0 ZE_extension_device_ip_version.
887888
The hexadecimal value represents device ID.
888889
If such value is provided, ocloc will try to
889890
match it with corresponding device type.
@@ -896,6 +897,7 @@ Usage: ocloc [compile] -file <filename> -device <device_type> [-output <filename
896897
Supported -device patterns examples:
897898
-device 0x4905 ; will compile 1 target (dg1)
898899
-device 12.10.0 ; will compile 1 target (dg1)
900+
-device 50495488 ; will compile 1 target (dg1)
899901
-device dg1 ; will compile 1 target
900902
-device dg1,acm-g10 ; will compile 2 targets
901903
-device dg1:acm-g10 ; will compile all targets

0 commit comments

Comments
 (0)