Skip to content

Accelerate deprecate split complex inits #29221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

FlexMonkey
Copy link
Contributor

This PR deprecates the init(fromInputArray:realParts:imaginaryParts:) for DSPSplitComplex and DSPDoubleSplitComplex.

I've also updated the FFT tests to no longer use these deprecated initializers, and to replace the incorrect use of temporary pointers with withUnsafeMutableBufferPointer.

@stephentyrone

I removed SinglePrecisionComplexConversions and DoublePrecisionComplexConversions - they weren't testing any new API.

2DSinglePrecision, 2DDoublePrecision, 1DSinglePrecision, and 1DDoublePrecision have all been updated to no longer use the deprecated initializer and avoid the temporary pointer warnings.
Deprecate init(fromInputArray:realParts:imaginaryParts:) for DSPSplitComplex and DSPDoubleSplitComplex
@lorentey
Copy link
Member

@swift-ci test

@FlexMonkey FlexMonkey changed the title Accelerate deprecate splt complex inits Accelerate deprecate split complex inits Jan 16, 2020
@lorentey
Copy link
Member

@swift-ci test

@swift-ci

This comment has been minimized.

@swift-ci

This comment has been minimized.

@CodaFi
Copy link
Contributor

CodaFi commented Apr 15, 2020

@swift-ci test

@stephentyrone stephentyrone merged commit d142fab into swiftlang:master Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants