-
-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
270 changed files
with
12,368 additions
and
5,158 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgCancelCommand.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
using Silk.NET.OpenCL; | ||
using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.IMG | ||
{ | ||
[Extension("IMG_cancel_command")] | ||
public unsafe partial class ImgCancelCommand : NativeExtension<CL> | ||
{ | ||
public const string ExtensionName = "IMG_cancel_command"; | ||
[NativeApi(EntryPoint = "clCancelCommandsIMG", Convention = CallingConvention.Winapi)] | ||
public unsafe partial int CancelCommands([Flow(Silk.NET.Core.Native.FlowDirection.In)] nint* event_list, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint num_events_in_list); | ||
|
||
[NativeApi(EntryPoint = "clCancelCommandsIMG", Convention = CallingConvention.Winapi)] | ||
public partial int CancelCommands([Flow(Silk.NET.Core.Native.FlowDirection.In)] [RequiresLocation] in nint event_list, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint num_events_in_list); | ||
|
||
public ImgCancelCommand(INativeContext ctx) | ||
: base(ctx) | ||
{ | ||
} | ||
} | ||
} | ||
|
27 changes: 27 additions & 0 deletions
27
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.IMG/ImgCancelCommandOverloads.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.IMG | ||
{ | ||
public static class ImgCancelCommandOverloads | ||
{ | ||
public static unsafe int CancelCommands(this ImgCancelCommand thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<nint> event_list, [Flow(Silk.NET.Core.Native.FlowDirection.In)] nuint num_events_in_list) | ||
{ | ||
// SpanOverloader | ||
return thisApi.CancelCommands(in event_list.GetPinnableReference(), num_events_in_list); | ||
} | ||
|
||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.KHR/Enums/MutableDispatchAsserts.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
|
||
|
||
using System; | ||
using Silk.NET.Core.Attributes; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenCL.Extensions.KHR | ||
{ | ||
[System.Flags] | ||
[NativeName("Name", "cl_mutable_dispatch_asserts_khr")] | ||
public enum MutableDispatchAsserts : ulong | ||
{ | ||
[NativeName("Name", "")] | ||
None = 0, | ||
[NativeName("Name", "CL_MUTABLE_DISPATCH_ASSERT_NO_ADDITIONAL_WORK_GROUPS_KHR")] | ||
NoAdditionalWorkGroups = 0x1, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.