YaccConstructor / Brahma.FSharp

F# quotation to OpenCL translator and respective runtime to utilize GPGPUs in F# applications.
http://yaccconstructor.github.io/Brahma.FSharp
Eclipse Public License 1.0
74 stars 17 forks source link

Fixes + Support of using DU inside kernels #129

Closed dpanfilyonok closed 2 years ago

dpanfilyonok commented 2 years ago

Proposed Changes

Added:

Also

Types of changes

What types of changes does your code introduce to Brahma.FSharp?

Checklist

gsvgit commented 2 years ago

@dpanfilyonok Please, check the tests: https://github.com/YaccConstructor/Brahma.FSharp/runs/4689985283?check_suite_focus=true Looks like problems with dependencies or reflection. Locally tests failed with the same problem.

Error Message:
   The type initializer for '<StartupCode$Brahma-FSharp-Tests>.$Common' threw an exception.
  Stack Trace:
     at Brahma.FSharp.Tests.Common.get_context()
   at Brahma.FSharp.Tests.Common.checkResult[a](FSharpExpr`1 command, a[] inArr, a[] expectedArr) in /home/gsv/Projects/Brahma.FSharp/tests/Brahma.FSharp.Tests/Common.fs:line 24
   at CompositeTypesTests.structTests@193-4.Invoke(Unit _arg4) in /home/gsv/Projects/Brahma.FSharp/tests/Brahma.FSharp.Tests/CompositeTypesTests.fs:line 203
   at Expecto.Impl.execTestAsync@566-1.Invoke(Unit unitVar)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 386
   at <StartupCode$FSharp-Core>.$Async.StartChild@1663-5.Invoke(AsyncActivation`1 ctxt) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 1663
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\workspace\_work\1\s\src\fsharp\FSharp.Core\async.fs:line 104