Commit Graph

10 Commits

Author SHA1 Message Date
Stephen Canon
e6406d878d Drop @inline(__always) from Accelerate overlay; it doesn't do what you want. (#24641)
@inline(__always) does not imply inlinable, which means that it effectively does nothing in the context of the Accelerate overlay. I have replaced all of these with @inlinable where that can be done as a one-line change. Functions that switch over open enums and more complex API (DCT, DFT, FFT) will require more sophisticated corrections, which we can undertake in later commits. For now, they have been rolled back to simply being normal public API.
2019-05-09 17:10:34 -04:00
Stephen Canon
c90299da15 Fix a case where vDSP is missing a cast (#24197)
* Add missing cast to new vDSP_FIR overlay.

* Use macOS instead of OSX in availability annotations.

* Reorder Accelerate/CMakeLists.txt alphabetically.
2019-04-21 17:30:14 -04:00
Simon Gladman
3c813faa01 Composite Branch of vDSP Swift Overlay Work
Contains the following:

	[Accelerate] [vDSP] Swift Overlays to Sliding Window Summation Operations
	[Accelerate] [vDSP] Swift Overlays to Linear Interpolation Operations
	[Accelerate] [vDSP] Swift Overlays to Complex Vector Operations
	[Accelerate] [vDSP] Swift overlays to 1D and 2D convolution operations.
	[Accelerate] [vDSP] Swift overlays to dot product and distance functions.
	[Accelerate] [vDSP] Swift overlays to `vDSP_desamp` and `vDSP_deq22`.
	[Accelerate] [vDSP] Vector Reduction Functions
	[Accelerate] [vDSP] Elementwise Vector-Vector and Vector-Scalar Arithmetic
	[Accelerate] [vDSP] Miscellaneous Conversion Functions
	[Accelerate] [vDSP] Polynomial Evaluation Functions
	[Accelerate] [vDSP] Clipping, Limit, and Threshold Functions
	[Accelerate] [vDSP] Fill, Clear, and Generation Functions
	[Accelerate] [vDSP] Integration Functions
	[Accelerate] [vDSP] Vector Type Conversion Functions
	[Accelerate] [vDSP] Swift overlays to Vector-Vector Extrema and Single-Vector Operations
2019-04-20 10:59:03 +01:00
simon gladman
9f752aa0d9 Add versions of operations that return the result. 2019-04-01 14:31:05 +01:00
simon gladman
3a5934d7c5 Rename pointers for vDSP_vsub and vDSP_vsubD to match vDSP function parameter names. 2019-03-21 09:59:13 +00:00
simon gladman
f62897ae67 Remove by and from parameter names for divide and subtract operations and fix subtract operation parameter order. 2019-03-19 13:37:04 +00:00
simon gladman
d8e73fc99d Remove unnecessary prefixes to tuple parameters. 2019-03-18 16:21:32 +00:00
simon gladman
781f163149 Better naming for tuple parameters. 2019-03-18 10:49:11 +00:00
simon gladman
9b833319b0 * Remove parameter labels from commutative operations.
* Fix parameter / operation naming mismatch.
2019-03-18 10:16:07 +00:00
simon gladman
49246470f8 vDSP Elementwise Vector-Vector and Vector-Scalar Arithmetic
A suite of Swift overlays to the vDSP elementwise arithmetic operations.
2019-03-13 10:53:45 +00:00