Skip to content

Commit

Permalink
Pull upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Feb 15, 2024
1 parent 8f4efbf commit 311c055
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DataScraping/Reps/OpenCL-Docs
Submodule OpenCL-Docs updated from 387458 to 64f489
2 changes: 1 addition & 1 deletion DataScraping/Reps/OpenGL-Registry
Submodule OpenGL-Registry updated from cb3946 to 81fad7
Binary file modified DataScraping/XML/OpenCL/funcs.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions LastPack.log
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ ScrapXML[OpenCL]: Parsing "cl"
ScrapXML[OpenCL]: Constructing named items
ScrapXML[OpenCL]: Saving as binary
ScrapXML[OpenCL]: VendorSuffix: Saved 11 items
ScrapXML[OpenCL]: Enum: Saved 1126 items
ScrapXML[OpenCL]: Enum: Saved 1129 items
ScrapXML[OpenCL]: BasicType: Saved 30 items
ScrapXML[OpenCL]: Group: Saved 119 items
ScrapXML[OpenCL]: Group: Saved 120 items
ScrapXML[OpenCL]: IdClass: Saved 18 items
ScrapXML[OpenCL]: Struct: Saved 16 items
ScrapXML[OpenCL]: Delegate: Saved 8 items
Expand Down
4 changes: 2 additions & 2 deletions Log/PullUpstream.log
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ ScrapXML[OpenCL]: Parsing "cl"
ScrapXML[OpenCL]: Constructing named items
ScrapXML[OpenCL]: Saving as binary
ScrapXML[OpenCL]: VendorSuffix: Saved 11 items
ScrapXML[OpenCL]: Enum: Saved 1126 items
ScrapXML[OpenCL]: Enum: Saved 1129 items
ScrapXML[OpenCL]: BasicType: Saved 30 items
ScrapXML[OpenCL]: Group: Saved 119 items
ScrapXML[OpenCL]: Group: Saved 120 items
ScrapXML[OpenCL]: IdClass: Saved 18 items
ScrapXML[OpenCL]: Struct: Saved 16 items
ScrapXML[OpenCL]: Delegate: Saved 8 items
Expand Down
8 changes: 7 additions & 1 deletion Modules.Packed/OpenCL.pas
Original file line number Diff line number Diff line change
Expand Up @@ -390,12 +390,15 @@ clCommandBufferProperties = record
public val: UInt64;
public constructor(val: UInt64) := self.val := val;

public static property COMMAND_BUFFER_FLAGS: clCommandBufferProperties read new clCommandBufferProperties($1293);
public static property COMMAND_BUFFER_FLAGS: clCommandBufferProperties read new clCommandBufferProperties($1293);
public static property COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS: clCommandBufferProperties read new clCommandBufferProperties($12B7);

public function ToString: string; override;
begin
if COMMAND_BUFFER_FLAGS = self then
Result := 'COMMAND_BUFFER_FLAGS' else
if COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS = self then
Result := 'COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS' else
Result := $'clCommandBufferProperties[{self.val}]';
end;

Expand Down Expand Up @@ -4472,11 +4475,14 @@ clNDRangeKernelCommandProperties = record
public constructor(val: UInt64) := self.val := val;

public static property MUTABLE_DISPATCH_UPDATABLE_FIELDS: clNDRangeKernelCommandProperties read new clNDRangeKernelCommandProperties($12B1);
public static property MUTABLE_DISPATCH_ASSERTS: clNDRangeKernelCommandProperties read new clNDRangeKernelCommandProperties($12B8);

public function ToString: string; override;
begin
if MUTABLE_DISPATCH_UPDATABLE_FIELDS = self then
Result := 'MUTABLE_DISPATCH_UPDATABLE_FIELDS' else
if MUTABLE_DISPATCH_ASSERTS = self then
Result := 'MUTABLE_DISPATCH_ASSERTS' else
Result := $'clNDRangeKernelCommandProperties[{self.val}]';
end;

Expand Down
8 changes: 7 additions & 1 deletion Packing/Descriptions/OpenCL.predoc
Original file line number Diff line number Diff line change
Expand Up @@ -390,12 +390,15 @@ type
public val: UInt64;
public constructor(val: UInt64) := self.val := val;

public static property COMMAND_BUFFER_FLAGS: clCommandBufferProperties read new clCommandBufferProperties($1293);
public static property COMMAND_BUFFER_FLAGS: clCommandBufferProperties read new clCommandBufferProperties($1293);
public static property COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS: clCommandBufferProperties read new clCommandBufferProperties($12B7);

public function ToString: string; override;
begin
if COMMAND_BUFFER_FLAGS = self then
Result := 'COMMAND_BUFFER_FLAGS' else
if COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS = self then
Result := 'COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS' else
Result := $'clCommandBufferProperties[{self.val}]';
end;

Expand Down Expand Up @@ -4472,11 +4475,14 @@ type
public constructor(val: UInt64) := self.val := val;

public static property MUTABLE_DISPATCH_UPDATABLE_FIELDS: clNDRangeKernelCommandProperties read new clNDRangeKernelCommandProperties($12B1);
public static property MUTABLE_DISPATCH_ASSERTS: clNDRangeKernelCommandProperties read new clNDRangeKernelCommandProperties($12B8);

public function ToString: string; override;
begin
if MUTABLE_DISPATCH_UPDATABLE_FIELDS = self then
Result := 'MUTABLE_DISPATCH_UPDATABLE_FIELDS' else
if MUTABLE_DISPATCH_ASSERTS = self then
Result := 'MUTABLE_DISPATCH_ASSERTS' else
Result := $'clNDRangeKernelCommandProperties[{self.val}]';
end;

Expand Down
3 changes: 3 additions & 0 deletions Packing/Template/LowLvl/OpenCL/Log/All Extension's.log
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@
Enum [cl::STRUCTURE_TYPE_MUTABLE_BASE_CONFIG]
Enum [cl::MUTABLE_DISPATCH_GLOBAL_OFFSET]
Enum [cl::STRUCTURE_TYPE_MUTABLE_DISPATCH_CONFIG]
Enum [cl::MUTABLE_DISPATCH_ASSERT_NO_ADDITIONAL_WORK_GROUPS]
Enum [cl::COMMAND_BUFFER_MUTABLE]
Enum [cl::MUTABLE_DISPATCH_GLOBAL_SIZE]
Enum [cl::MUTABLE_DISPATCH_LOCAL_SIZE]
Expand All @@ -678,6 +679,8 @@
Enum [cl::MUTABLE_COMMAND_COMMAND_TYPE]
Enum [cl::DEVICE_MUTABLE_DISPATCH_CAPABILITIES]
Enum [cl::MUTABLE_DISPATCH_UPDATABLE_FIELDS]
Enum [cl::COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS]
Enum [cl::MUTABLE_DISPATCH_ASSERTS]
Func [cl::UpdateMutableCommands + KHR]
Func [cl::GetMutableCommandInfo + KHR]

Expand Down
5 changes: 5 additions & 0 deletions Packing/Template/LowLvl/OpenCL/Log/All Group's.log
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@

# clCommandBufferProperties (cl::CommandBufferProperties) : UInt64
COMMAND_BUFFER_FLAGS[$1293]
COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS[$12B7]

# clCommandBufferState (cl::CommandBufferState) : UInt32
COMMAND_BUFFER_STATE_RECORDING[0]
Expand Down Expand Up @@ -1022,6 +1023,9 @@
MUTABLE_DISPATCH_LOCAL_WORK_SIZE[$12A7]
MUTABLE_COMMAND_COMMAND_TYPE[$12AD]

# clMutableDispatchAsserts (cl::MutableDispatchAsserts) : UInt64 (Bitfield)
MUTABLE_DISPATCH_ASSERT_NO_ADDITIONAL_WORK_GROUPS[1 shl 0]

# clMutableDispatchFields (cl::MutableDispatchFields) : UInt64 (Bitfield)
MUTABLE_DISPATCH_GLOBAL_OFFSET[1 shl 0]
MUTABLE_DISPATCH_GLOBAL_SIZE[1 shl 1]
Expand All @@ -1031,6 +1035,7 @@

# clNDRangeKernelCommandProperties (cl::NDRangeKernelCommandProperties) : UInt64
MUTABLE_DISPATCH_UPDATABLE_FIELDS[$12B1]
MUTABLE_DISPATCH_ASSERTS[$12B8]

# clPipeInfo (cl::PipeInfo) : UInt32
PIPE_PACKET_SIZE[$1120]
Expand Down
6 changes: 6 additions & 0 deletions Packing/Template/LowLvl/OpenCL/Log/All ObjPropList's.log
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
--- COMMAND_BUFFER_FLAGS
!type
clCommandBufferFlags
--- COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS
!type
clMutableDispatchAsserts

# clContextProperties
--- CONTEXT_PLATFORM
Expand Down Expand Up @@ -128,6 +131,9 @@ IntPtr
--- MUTABLE_DISPATCH_UPDATABLE_FIELDS
!type
clMutableDispatchFields
--- MUTABLE_DISPATCH_ASSERTS
!type
clMutableDispatchAsserts

# clQueueProperties
--- QUEUE_PRIORITY
Expand Down
8 changes: 7 additions & 1 deletion Packing/Template/LowLvl/OpenCL/Types.Interface.template
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,15 @@
public val: UInt64;
public constructor(val: UInt64) := self.val := val;

public static property COMMAND_BUFFER_FLAGS: clCommandBufferProperties read new clCommandBufferProperties($1293);
public static property COMMAND_BUFFER_FLAGS: clCommandBufferProperties read new clCommandBufferProperties($1293);
public static property COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS: clCommandBufferProperties read new clCommandBufferProperties($12B7);

public function ToString: string; override;
begin
if COMMAND_BUFFER_FLAGS = self then
Result := 'COMMAND_BUFFER_FLAGS' else
if COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS = self then
Result := 'COMMAND_BUFFER_MUTABLE_DISPATCH_ASSERTS' else
Result := $'clCommandBufferProperties[{self.val}]';
end;

Expand Down Expand Up @@ -4438,11 +4441,14 @@
public constructor(val: UInt64) := self.val := val;

public static property MUTABLE_DISPATCH_UPDATABLE_FIELDS: clNDRangeKernelCommandProperties read new clNDRangeKernelCommandProperties($12B1);
public static property MUTABLE_DISPATCH_ASSERTS: clNDRangeKernelCommandProperties read new clNDRangeKernelCommandProperties($12B8);

public function ToString: string; override;
begin
if MUTABLE_DISPATCH_UPDATABLE_FIELDS = self then
Result := 'MUTABLE_DISPATCH_UPDATABLE_FIELDS' else
if MUTABLE_DISPATCH_ASSERTS = self then
Result := 'MUTABLE_DISPATCH_ASSERTS' else
Result := $'clNDRangeKernelCommandProperties[{self.val}]';
end;

Expand Down

0 comments on commit 311c055

Please sign in to comment.