Sergio Pedri
ef4834be94
Fix a StackOverflowException in some polyfills
...
These APIs were never actually called by any code paths reachable by ComputeSharp (they're mostly there just to make porting polyfills easier), but still good to fix
2022-08-08 15:45:23 +02:00
Sergio Pedri
bc15b590c0
Remove leftover [UnconditionalSuppressMessage] polyfill
2022-08-05 14:11:35 +02:00
Sergio Pedri
3deaeb0328
Fix trimming annotations, use [RequiresUnreferencedCode]
2022-08-05 14:11:35 +02:00
Sergio Pedri
e78b90c941
Add UnconditionalSuppressMessageAttribute polyfill
2022-08-05 14:11:35 +02:00
Sergio Pedri
6415972f51
Minor fixes to polyfills
2022-08-05 14:11:35 +02:00
Sergio Pedri
24e9dedfc5
Add DynamicallyAccessedMembersAttribute polyfills
2022-08-05 14:11:34 +02:00
Sergio Pedri
f1918c8348
Add ComputeSharp.Core dependency to downstream projects
2022-04-24 21:03:14 +02:00
Sergio Pedri
e48949cd48
Move primitives to ComputeSharp.Core
2022-04-24 21:03:14 +02:00
Sergio Pedri
438280ad23
Add checks and exceptions for multiple disposals of ComputeContext
2021-12-30 22:30:25 +01:00
Sergio Pedri
ff59d3f5ad
Reduce allocations for ComputeContext async execution
2021-12-30 19:20:33 +01:00
Sergio Pedri
c03006aa67
Add IAsyncDisposable to ComputeContext
2021-12-30 17:03:28 +01:00
Sergio Pedri
b93a4a2a5b
Add CCW for an IStream object wrapping a Stream
2021-12-08 19:57:28 +01:00
Sergio Pedri
10876946df
Add Stream extensions for Span<byte> to polyfills
2021-12-08 19:57:28 +01:00
Sergio Pedri
0e8b2fd02b
Add [UnmanagedCallersOnly] polyfill type
2021-12-08 18:43:57 +01:00
Sergio Pedri
92b2934229
Add [EmbeddedBytecode] attribute
2021-12-06 17:43:43 +01:00
Sergio Pedri
a5f0045de8
Switch Marshal.AllocHGlobal to NativeMemory.Alloc
2021-11-22 00:00:51 +01:00
Sergio Pedri
1e4b547c38
Added .NET Core 3.1 target to test projects
2021-11-16 17:34:01 +01:00
Sergio Pedri
06ce524740
Add .NET Standard 2.0 target to ComputeSharp
...
Also switch TerraFX.Interop.Windows to shared project
2021-11-16 17:34:01 +01:00
Sergio Pedri
9c6826dbda
Target TerraFX.Interop.Windows to .NET Standard 2.0
2021-11-16 14:05:59 +01:00