An open API service indexing awesome lists of open source software.

https://github.com/gin66/simdlinux

missing simd package for swift on linux (only needed functions and not optimized for speed)
https://github.com/gin66/simdlinux

development library linux package simd spm swift xcode

Last synced: 25 days ago
JSON representation

missing simd package for swift on linux (only needed functions and not optimized for speed)

Awesome Lists containing this project

README

          

# simdLinux

This is a non-simd(!) implementation of the simd-library for reusing code on Linux.
In your swift source just replace:

```swift
import simd
```

with

```swift
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
import simd
#else
import simdLinux
#endif
```

The implementation is not 100% complete, but is a pretty good start.
simd_float/double/int/uint are implemented for 1/2/3/4/8/16.
simd_quaternion is present.
matrix-support is very limited.