-
-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the September 2021 Update (v2.8.0) (#604)
* Update common.props * Update bindings for 2.8 * Update common.props * Update common.props * Fix build
- Loading branch information
Showing
68 changed files
with
2,019 additions
and
290 deletions.
There are no files selected for viewing
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
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
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
16 changes: 16 additions & 0 deletions
16
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.POCL/Enums/POCL.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,16 @@ | ||
// 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.POCL | ||
{ | ||
[NativeName("Name", "GLenum")] | ||
public enum POCL : int | ||
{ | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.POCL/PoclContentSize.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,32 @@ | ||
// 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.POCL | ||
{ | ||
[Extension("POCL_content_size")] | ||
public unsafe partial class PoclContentSize : NativeExtension<CL> | ||
{ | ||
public const string ExtensionName = "POCL_content_size"; | ||
[NativeApi(EntryPoint = "clSetContentSizeBufferPoCL")] | ||
public partial int SetContentSizeBufferPoCL([Flow(FlowDirection.In)] nint buffer, [Flow(FlowDirection.In)] nint content_size_buffer); | ||
|
||
public PoclContentSize(INativeContext ctx) | ||
: base(ctx) | ||
{ | ||
} | ||
} | ||
} | ||
|
14 changes: 14 additions & 0 deletions
14
src/OpenCL/Extensions/Silk.NET.OpenCL.Extensions.POCL/Silk.NET.OpenCL.Extensions.POCL.csproj
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,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0</TargetFrameworks> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<LangVersion>preview</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\Silk.NET.OpenCL\Silk.NET.OpenCL.csproj" /> | ||
</ItemGroup> | ||
|
||
<Import Project="..\..\..\..\build\props\bindings.props" /> | ||
</Project> |
94 changes: 94 additions & 0 deletions
94
src/OpenCL/Silk.NET.OpenCL/Structs/DeviceIntegerDotProductAccelerationPropertiesKhr.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,94 @@ | ||
// 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 | ||
{ | ||
[NativeName("Name", "cl_device_integer_dot_product_acceleration_properties_khr")] | ||
public unsafe partial struct DeviceIntegerDotProductAccelerationPropertiesKhr | ||
{ | ||
public DeviceIntegerDotProductAccelerationPropertiesKhr | ||
( | ||
bool? signedAccelerated = null, | ||
bool? unsignedAccelerated = null, | ||
bool? mixedSignednessAccelerated = null, | ||
bool? accumulatingSaturatingSignedAccelerated = null, | ||
bool? accumulatingSaturatingUnsignedAccelerated = null, | ||
bool? accumulatingSaturatingMixedSignednessAccelerated = null | ||
) : this() | ||
{ | ||
if (signedAccelerated is not null) | ||
{ | ||
SignedAccelerated = signedAccelerated.Value; | ||
} | ||
|
||
if (unsignedAccelerated is not null) | ||
{ | ||
UnsignedAccelerated = unsignedAccelerated.Value; | ||
} | ||
|
||
if (mixedSignednessAccelerated is not null) | ||
{ | ||
MixedSignednessAccelerated = mixedSignednessAccelerated.Value; | ||
} | ||
|
||
if (accumulatingSaturatingSignedAccelerated is not null) | ||
{ | ||
AccumulatingSaturatingSignedAccelerated = accumulatingSaturatingSignedAccelerated.Value; | ||
} | ||
|
||
if (accumulatingSaturatingUnsignedAccelerated is not null) | ||
{ | ||
AccumulatingSaturatingUnsignedAccelerated = accumulatingSaturatingUnsignedAccelerated.Value; | ||
} | ||
|
||
if (accumulatingSaturatingMixedSignednessAccelerated is not null) | ||
{ | ||
AccumulatingSaturatingMixedSignednessAccelerated = accumulatingSaturatingMixedSignednessAccelerated.Value; | ||
} | ||
} | ||
|
||
/// <summary></summary> | ||
[NativeName("Type", "cl_bool")] | ||
[NativeName("Type.Name", "cl_bool")] | ||
[NativeName("Name", "signed_accelerated")] | ||
public bool SignedAccelerated; | ||
/// <summary></summary> | ||
[NativeName("Type", "cl_bool")] | ||
[NativeName("Type.Name", "cl_bool")] | ||
[NativeName("Name", "unsigned_accelerated")] | ||
public bool UnsignedAccelerated; | ||
/// <summary></summary> | ||
[NativeName("Type", "cl_bool")] | ||
[NativeName("Type.Name", "cl_bool")] | ||
[NativeName("Name", "mixed_signedness_accelerated")] | ||
public bool MixedSignednessAccelerated; | ||
/// <summary></summary> | ||
[NativeName("Type", "cl_bool")] | ||
[NativeName("Type.Name", "cl_bool")] | ||
[NativeName("Name", "accumulating_saturating_signed_accelerated")] | ||
public bool AccumulatingSaturatingSignedAccelerated; | ||
/// <summary></summary> | ||
[NativeName("Type", "cl_bool")] | ||
[NativeName("Type.Name", "cl_bool")] | ||
[NativeName("Name", "accumulating_saturating_unsigned_accelerated")] | ||
public bool AccumulatingSaturatingUnsignedAccelerated; | ||
/// <summary></summary> | ||
[NativeName("Type", "cl_bool")] | ||
[NativeName("Type.Name", "cl_bool")] | ||
[NativeName("Name", "accumulating_saturating_mixed_signedness_accelerated")] | ||
public bool AccumulatingSaturatingMixedSignednessAccelerated; | ||
} | ||
} |
Oops, something went wrong.