Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/Metal/MTLEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,7 @@ public enum MTL4CompilerTaskStatus : long {

[Mac (26, 0), iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)]
[Native]
public enum MTL4CounterHeapType : ulong {
public enum MTL4CounterHeapType : long {
Invalid,
Timestamp,
}
Expand All @@ -2509,7 +2509,7 @@ public enum MTL4LogicalToPhysicalColorAttachmentMappingState : long {
[Mac (26, 0), iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)]
[Flags]
[Native]
public enum MTL4PipelineDataSetSerializerConfiguration : long {
public enum MTL4PipelineDataSetSerializerConfiguration : ulong {
Descriptors = (1 << 0),
Binaries = (1 << 1),
}
Expand Down Expand Up @@ -2539,7 +2539,8 @@ public enum MTL4TimestampGranularity : long {

[Mac (26, 0), iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)]
[Native]
public enum MTL4VisibilityOptions : long {
[Flags]
public enum MTL4VisibilityOptions : ulong {
None = 0,
Device = 1 << 0,
ResourceAlias = 1 << 1,
Expand Down Expand Up @@ -2586,15 +2587,16 @@ public enum MTLTensorDataType : long {
[Mac (26, 0), iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)]
[Native]
[ErrorDomain ("MTLTensorDomain")]
public enum MTLTensorError : ulong {
public enum MTLTensorError : long {
None = 0,
InternalError = 1,
InvalidDescriptor = 2,
}

[Mac (26, 0), iOS (26, 0), MacCatalyst (26, 0), TV (26, 0)]
[Native]
public enum MTLTensorUsage : long {
[Flags]
public enum MTLTensorUsage : ulong {
Compute = 1L << 0,
Render = 1L << 1,
MachineLearning = 1L << 2,
Expand Down
3 changes: 3 additions & 0 deletions src/metal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8652,6 +8652,7 @@ interface MTLTensor : MTLResource {

[Abstract]
[Export ("strides")]
[NullAllowed]
MTLTensorExtents Strides { get; }

[Abstract]
Expand Down Expand Up @@ -9260,6 +9261,7 @@ interface MTL4PipelineDescriptor : NSCopying {
string Label { get; set; }

[Export ("options", ArgumentSemantic.Retain)]
[NullAllowed]
MTL4PipelineOptions Options { get; set; }
}

Expand Down Expand Up @@ -9610,6 +9612,7 @@ interface MTLTensorDescriptor : NSCopying {
MTLTensorExtents Dimensions { get; set; }

[Export ("strides", ArgumentSemantic.Copy)]
[NullAllowed]
MTLTensorExtents Strides { get; set; }

[Export ("dataType", ArgumentSemantic.Assign)]
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-Metal.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/api-annotations-dotnet/macOS-Metal.todo

This file was deleted.

2 changes: 0 additions & 2 deletions tests/xtro-sharpie/api-annotations-dotnet/tvOS-Metal.todo

This file was deleted.

Loading