Move primitives to ComputeSharp.Core

このコミットが含まれているのは:
Sergio Pedri committed 2022-04-24 21:03:14 +02:00
1 親 cc298770ca
コミット e48949cd48
78ファイル変更
+369 -245

検索条件に一致するファイルはありません

+19
ファイルの表示
@@ -81,6 +81,10 @@ Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TerraFX.Interop.Windows.D2D
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComputeSharp.D2D1Interop.NetStandard", "src\ComputeSharp.D2D1Interop.NetStandard\ComputeSharp.D2D1Interop.NetStandard.shproj", "{2608EB41-F98B-4BE5-9F4D-68FED6115088}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Core", "src\ComputeSharp.Core\ComputeSharp.Core.csproj", "{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}"
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComputeSharp.Core.NetStandard", "src\ComputeSharp.Core.NetStandard\ComputeSharp.Core.NetStandard.shproj", "{3ACACF03-6B20-40BA-B8EC-11AC1624D2C9}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
samples\ComputeSharp.SwapChain.Core.Shared\ComputeSharp.SwapChain.Core.Shared.projitems*{0071701e-b9c5-4098-be5f-ef556c4553c6}*SharedItemsImports = 5
@@ -91,11 +95,13 @@ Global
src\ComputeSharp.D2D1Interop.NetStandard\ComputeSharp.D2D1Interop.NetStandard.projitems*{2608eb41-f98b-4be5-9f4d-68fed6115088}*SharedItemsImports = 13
src\ComputeSharp.NetStandard\ComputeSharp.NetStandard.projitems*{314eb353-e7e3-4146-8111-685cc83ec1de}*SharedItemsImports = 5
src\TerraFX.Interop.Windows\TerraFX.Interop.Windows.projitems*{314eb353-e7e3-4146-8111-685cc83ec1de}*SharedItemsImports = 5
src\ComputeSharp.Core.NetStandard\ComputeSharp.Core.NetStandard.projitems*{3acacf03-6b20-40ba-b8ec-11ac1624d2c9}*SharedItemsImports = 13
src\ComputeSharp.D2D1Interop.NetStandard\ComputeSharp.D2D1Interop.NetStandard.projitems*{4d7d9ba8-a821-4b1c-9ee2-cbcf5849906e}*SharedItemsImports = 5
src\TerraFX.Interop.Windows.D2D1Interop\TerraFX.Interop.Windows.D2D1Interop.projitems*{4d7d9ba8-a821-4b1c-9ee2-cbcf5849906e}*SharedItemsImports = 5
src\TerraFX.Interop.Windows\TerraFX.Interop.Windows.projitems*{514ff00e-bbf0-4d55-a47c-eeeb6208adce}*SharedItemsImports = 13
samples\ComputeSharp.Sample.Shared\ComputeSharp.Sample.Shared.projitems*{7048deea-0a6f-46a0-b951-b682a8f1cb75}*SharedItemsImports = 5
samples\ComputeSharp.SwapChain.Core.Shared\ComputeSharp.SwapChain.Core.Shared.projitems*{751bb05b-563d-4b3a-94c6-15e2d79d35ea}*SharedItemsImports = 13
src\ComputeSharp.Core.NetStandard\ComputeSharp.Core.NetStandard.projitems*{764bc0f5-0c5e-49ad-abaa-e3874c0f3286}*SharedItemsImports = 5
src\TerraFX.Interop.Windows.Dynamic\TerraFX.Interop.Windows.Dynamic.projitems*{76c66257-fdaa-47ab-85e7-ef757eab10c0}*SharedItemsImports = 5
samples\ComputeSharp.Sample.Shared\ComputeSharp.Sample.Shared.projitems*{8cefc324-ca6c-4845-9ad9-70b92bd87057}*SharedItemsImports = 13
src\TerraFX.Interop.Windows.D2D1Interop\TerraFX.Interop.Windows.D2D1Interop.projitems*{9da1da9f-f8b2-4b25-be80-c21f773029e3}*SharedItemsImports = 13
@@ -359,6 +365,18 @@ Global
{4D7D9BA8-A821-4B1C-9EE2-CBCF5849906E}.Release|ARM64.Build.0 = Release|Any CPU
{4D7D9BA8-A821-4B1C-9EE2-CBCF5849906E}.Release|x64.ActiveCfg = Release|Any CPU
{4D7D9BA8-A821-4B1C-9EE2-CBCF5849906E}.Release|x64.Build.0 = Release|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Debug|Any CPU.Build.0 = Debug|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Debug|ARM64.Build.0 = Debug|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Debug|x64.ActiveCfg = Debug|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Debug|x64.Build.0 = Debug|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Release|Any CPU.ActiveCfg = Release|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Release|Any CPU.Build.0 = Release|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Release|ARM64.ActiveCfg = Release|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Release|ARM64.Build.0 = Release|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Release|x64.ActiveCfg = Release|Any CPU
{764BC0F5-0C5E-49AD-ABAA-E3874C0F3286}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -385,6 +403,7 @@ Global
{158F984D-CD96-4062-BD02-2268946031A0} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
{9DA1DA9F-F8B2-4B25-BE80-C21F773029E3} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
{2608EB41-F98B-4BE5-9F4D-68FED6115088} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
{3ACACF03-6B20-40BA-B8EC-11AC1624D2C9} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4664C5E3-0340-4E22-BCFD-98AAEDF5F2DC}
+17
ファイルの表示
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects Condition="'$(MSBuildVersion)' == '' Or '$(MSBuildVersion)' &lt; '16.0'">$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<HasSharedItems>true</HasSharedItems>
<SharedGUID>3acacf03-6b20-40ba-b8ec-11ac1624d2c9</SharedGUID>
</PropertyGroup>
<PropertyGroup Label="Configuration">
<Import_RootNamespace>ComputeSharp.Core.NetStandard</Import_RootNamespace>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)System\InteropServices\MemoryMarshal.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime.CompilerServices\InterpolatedStringHandlerArgumentAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime.CompilerServices\InterpolatedStringHandlerAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime.CompilerServices\RuntimeHelpers.cs" />
</ItemGroup>
</Project>
+13
ファイルの表示
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="Globals">
<ProjectGuid>3acacf03-6b20-40ba-b8ec-11ac1624d2c9</ProjectGuid>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.Default.props" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.Common.props" />
<PropertyGroup />
<Import Project="ComputeSharp.Core.NetStandard.projitems" Label="Shared" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\CodeSharing\Microsoft.CodeSharing.CSharp.targets" />
</Project>
+36
ファイルの表示
@@ -0,0 +1,36 @@
using System;
using System.Runtime.CompilerServices;
namespace ComputeSharp.Core.NetStandard.System.Runtime.InteropServices;
/// <summary>
/// A polyfill type that mirrors some methods from <see cref="MemoryMarshal"/> on .NET 6.
/// </summary>
internal static class MemoryMarshal
{
/// <inheritdoc cref="global::System.Runtime.InteropServices.MemoryMarshal.GetReference{T}(Span{T})"/>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ref T GetReference<T>(Span<T> span)
{
return ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(span);
}
/// <inheritdoc cref="global::System.Runtime.InteropServices.MemoryMarshal.GetReference{T}(ReadOnlySpan{T})"/>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static ref T GetReference<T>(ReadOnlySpan<T> span)
{
return ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(span);
}
/// <summary>
/// Creates a new <see cref="Span{T}"/> from a given reference.
/// </summary>
/// <typeparam name="T">The type of reference to wrap.</typeparam>
/// <param name="value">The target reference.</param>
/// <param name="length">The length of the <see cref="Span{T}"/> to create.</param>
/// <returns>A new <see cref="Span{T}"/> wrapping <paramref name="value"/>.</returns>
public static unsafe Span<T> CreateSpan<T>(ref T value, int length)
{
return new(Unsafe.AsPointer(ref value), length);
}
}
+18
ファイルの表示
@@ -0,0 +1,18 @@
using System;
using System.Runtime.InteropServices;
namespace ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices;
/// <summary>
/// A polyfill type that mirrors some methods from <see cref="RuntimeHelpers"/> on .NET 5.
/// </summary>
internal static class RuntimeHelpers
{
/// <summary>
/// Allocates some memory tied to the lifetime of a specific type.
/// </summary>
/// <param name="type">The type to associate the memory to.</param>
/// <param name="size">The size in byte of the memory to allocate.</param>
/// <returns>A pointer to the allocated memory.</returns>
public static IntPtr AllocateTypeAssociatedMemory(Type type, int size) => Marshal.AllocHGlobal(size);
}
差分なしでファイル名を変更。
+222
ファイルの表示
@@ -0,0 +1,222 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<OutputPath>bin\Release</OutputPath>
<DocumentationFile>ComputeSharp.Core.xml</DocumentationFile>
</PropertyGroup>
<!-- Enable trimming support on .NET 6 -->
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>
<!-- .NET Standard 2.0 polyfill packages -->
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Memory" Version="4.5.4" />
</ItemGroup>
<!-- T4 template generation service -->
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
<ItemGroup>
<Compile Update="Intrinsics\Hlsl.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Hlsl.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Bool\Bool2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Bool2.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Bool\Bool3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Bool3.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Bool\Bool4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Bool4.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Bool\BoolMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>BoolMxN.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Double\Double2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Double2.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Double\Double3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Double3.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Double\Double4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Double4.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Double\DoubleMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>DoubleMxN.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Float\Float2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Float2.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Float\Float3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Float3.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Float\Float4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Float4.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Float\FloatMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>FloatMxN.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Int\Int2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Int2.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Int\Int3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Int3.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Int\Int4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Int4.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\Int\IntMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>IntMxN.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\UInt\UInt2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>UInt2.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\UInt\UInt3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>UInt3.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\UInt\UInt4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>UInt4.tt</DependentUpon>
</Compile>
<Compile Update="Primitives\UInt\UIntMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>UIntMxN.tt</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Update="Intrinsics\Hlsl.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Hlsl.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Bool\Bool2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Bool2.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Bool\Bool3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Bool3.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Bool\Bool4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Bool4.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Bool\BoolMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>BoolMxN.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Double\Double2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Double2.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Double\Double3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Double3.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Double\Double4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Double4.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Double\DoubleMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>DoubleMxN.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Float\Float2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Float2.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Float\Float3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Float3.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Float\Float4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Float4.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Float\FloatMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>FloatMxN.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Int\Int2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Int2.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Int\Int3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Int3.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Int\Int4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Int4.g.cs</LastGenOutput>
</None>
<None Update="Primitives\Int\IntMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>IntMxN.g.cs</LastGenOutput>
</None>
<None Update="Primitives\UInt\UInt2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>UInt2.g.cs</LastGenOutput>
</None>
<None Update="Primitives\UInt\UInt3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>UInt3.g.cs</LastGenOutput>
</None>
<None Update="Primitives\UInt\UInt4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>UInt4.g.cs</LastGenOutput>
</None>
<None Update="Primitives\UInt\UIntMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>UIntMxN.g.cs</LastGenOutput>
</None>
</ItemGroup>
<!-- Shared project with .NET Standard 2.0 polyfills -->
<Import Condition="'$(TargetFramework)' == 'netstandard2.0'" Project="..\ComputeSharp.Core.NetStandard\ComputeSharp.Core.NetStandard.projitems" Label="Shared" />
</Project>
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
namespace ComputeSharp;
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
namespace ComputeSharp;
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
namespace ComputeSharp;
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
namespace ComputeSharp;
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -13,8 +13,8 @@ void GenerateAllMatrixProperties(string typeName, int elementSize)
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
namespace ComputeSharp;
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
差分なしでファイル名を変更。
@@ -3,8 +3,8 @@ using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
差分なしでファイル名を変更。
@@ -1,8 +1,8 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
namespace ComputeSharp;
差分なしでファイル名を変更。
@@ -61,8 +61,8 @@ void GenerateVectorProperties(string typeName, int elementSize)
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
using RuntimeHelpers = ComputeSharp.Core.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.Core.NetStandard.System.Runtime.InteropServices.MemoryMarshal;
#endif
#nullable enable
-2
ファイルの表示
@@ -18,8 +18,6 @@
<Compile Include="$(MSBuildThisFileDirectory)System\FormatExtensions.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\IO\StreamExtensions.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Path.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\InterpolatedStringHandlerArgumentAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\InterpolatedStringHandlerAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\IsExternalInit.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\SkipLocalsInitAttribute.cs" />
<Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\MemoryMarshal.cs" />
-199
ファイルの表示
@@ -44,203 +44,4 @@
<None Include="ComputeSharp.targets" PackagePath="buildTransitive\netstandard2.0" Pack="true" />
<None Include="ComputeSharp.targets" PackagePath="build\netstandard2.0" Pack="true" />
</ItemGroup>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
<ItemGroup>
<Compile Update="Core\Intrinsics\Hlsl.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Hlsl.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Bool\Bool2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Bool2.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Bool\Bool3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Bool3.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Bool\Bool4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Bool4.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Bool\BoolMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>BoolMxN.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Double\Double2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Double2.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Double\Double3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Double3.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Double\Double4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Double4.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Double\DoubleMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>DoubleMxN.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Float\Float2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Float2.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Float\Float3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Float3.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Float\Float4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Float4.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Float\FloatMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>FloatMxN.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Int\Int2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Int2.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Int\Int3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Int3.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Int\Int4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Int4.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\Int\IntMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>IntMxN.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\UInt\UInt2.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>UInt2.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\UInt\UInt3.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>UInt3.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\UInt\UInt4.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>UInt4.tt</DependentUpon>
</Compile>
<Compile Update="Core\Primitives\UInt\UIntMxN.g.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>UIntMxN.tt</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Update="Core\Intrinsics\Hlsl.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Hlsl.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Bool\Bool2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Bool2.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Bool\Bool3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Bool3.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Bool\Bool4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Bool4.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Bool\BoolMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>BoolMxN.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Double\Double2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Double2.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Double\Double3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Double3.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Double\Double4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Double4.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Double\DoubleMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>DoubleMxN.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Float\Float2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Float2.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Float\Float3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Float3.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Float\Float4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Float4.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Float\FloatMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>FloatMxN.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Int\Int2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Int2.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Int\Int3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Int3.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Int\Int4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>Int4.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\Int\IntMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>IntMxN.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\UInt\UInt2.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>UInt2.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\UInt\UInt3.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>UInt3.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\UInt\UInt4.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>UInt4.g.cs</LastGenOutput>
</None>
<None Update="Core\Primitives\UInt\UIntMxN.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>UIntMxN.g.cs</LastGenOutput>
</None>
</ItemGroup>
</Project>