peachsim 0.1.1692 → 0.1.1700
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/bridge-flow-runner.ts +61 -39
- package/cli/commands/agent-wrapper.ts +21 -10
- package/cli/commands/control.ts +27 -7
- package/cli/commands/coverage.ts +1 -1
- package/cli/commands/detect.ts +17 -4
- package/cli/commands/maestro-compare.ts +25 -99
- package/cli/help-core.ts +3 -4
- package/cli/maestro-compare.ts +172 -4
- package/cli/outbound-endpoints.ts +2 -10
- package/detox/index.ts +15 -0
- package/detox/launch-permissions.ts +169 -0
- package/dist-lib/agent-daemon-client.cjs +2 -2
- package/dist-lib/agent-events.cjs +2 -2
- package/dist-lib/attached-projects.cjs +2 -2
- package/dist-lib/auth/shared-session.cjs +2 -2
- package/dist-lib/backend-origin.cjs +2 -2
- package/dist-lib/beta.cjs +2 -2
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +2 -2
- package/dist-lib/bridge-contract-input.cjs +2 -2
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +2 -2
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +18273 -15925
- package/dist-lib/capture-contract.cjs +2 -2
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +2 -2
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +2 -2
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +2 -2
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +2 -2
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +104 -3
- package/dist-lib/dev-bundle-resolution.cjs +208 -44
- package/dist-lib/expo-swift-bundle.cjs +2349 -1778
- package/dist-lib/expo-swift-metadata.cjs +2 -2
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +2 -2
- package/dist-lib/host/bridge-host.cjs +7885 -3334
- package/dist-lib/host/fetch-proxy-handler.cjs +331 -39
- package/dist-lib/host/fetch-proxy-overrides.cjs +2 -2
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +2 -2
- package/dist-lib/host/websocket-proxy.cjs +2 -2
- package/dist-lib/index.cjs +297 -77
- package/dist-lib/jump-to-source-babel.cjs +2 -2
- package/dist-lib/jump-to-source-native.cjs +2 -2
- package/dist-lib/kotlin-host.cjs +2 -2
- package/dist-lib/menu.cjs +2 -2
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +2 -2
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +2 -2
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +294 -74
- package/dist-lib/native-app-identity-project.cjs +48 -37
- package/dist-lib/native-app-identity-project.mjs +47 -36
- package/dist-lib/native-app-identity.cjs +2 -2
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +2 -2
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +2 -2
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +2 -2
- package/dist-lib/public-brand.cjs +2 -2
- package/dist-lib/public-origins-lib-esm.json +24 -23
- package/dist-lib/public-origins-lib.json +199 -79
- package/dist-lib/react-native-host-modules.cjs +2 -2
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +2 -2
- package/dist-lib/scripts/dev-server-scanner.cjs +206 -31
- package/dist-lib/sdk.cjs +2 -2
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +19600 -15992
- package/dist-lib/swift-compile.cjs +640 -402
- package/dist-lib/swift-compile.mjs +595 -357
- package/dist-lib/swift-package.cjs +24 -20
- package/dist-lib/swift-package.mjs +23 -19
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +31 -4
- package/dist-lib/swift.cjs +2 -2
- package/dist-lib/vite-swift.cjs +1559 -1208
- package/dist-lib/vite.cjs +251 -42
- package/dist-lib/worklet-executable.cjs +2 -2
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +17 -0
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/cameraBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/shellHostBridgeContract.d.ts +3 -0
- package/dist-types/packages/peach-kit/src/materials/types.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/scripts/dev-server-scanner.ts +4 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h +2282 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/BasicImageTypes.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h +10551 -6
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h +4236 -3
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h +827 -8
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Histogram.h +1369 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Morphology.h +1243 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Transform.h +1747 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h +291 -2
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_CVUtilities.h +1283 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h +811 -91
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Utilities.h +1342 -25
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns.h +2738 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_constants.h +1685 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_graph.h +913 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_structures.h +1917 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h +23 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/arithmetic.h +209 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/base.h +104 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/linear_systems.h +77 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/matrix.h +554 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/norms.h +58 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/object.h +186 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/splat.h +86 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/vector.h +364 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Integration.h +195 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h +44 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/BLAS.h +2330 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/Types.h +123 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Solve.h +8339 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementation.h +520 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementationTyped.h +1893 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Sparse.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/blas_new.h +1098 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas.h +859 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas_new.h +1134 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/clapack.h +10555 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h +695 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack.h +38526 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_types.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_version.h +20 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/thread_api.h +50 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBasicOps.h +1218 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBigNum.h +1458 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP.h +10377 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP_translate.h +167 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vForce.h +1243 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLib.h +114 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLibTypes.h +146 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vectorOps.h +1106 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vfp.h +294 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h +25 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h +673 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h +232 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h +827 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h +121 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h +387 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h +79 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h +122 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h +674 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h +182 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h +213 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h +82 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h +129 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h +491 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h +883 -2
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h +98 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +11 -229
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +2 -6
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +2 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +1 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecBase.h +906 -3
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h +613 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecItem.h +1284 -29
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h +441 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecTrust.h +845 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/Security.h +4 -0
- package/sdk/ios/usr/include/AvailabilityMacros.h +3985 -0
- package/sdk/ios/usr/include/copyfile.h +143 -0
- package/sdk/ios/usr/include/malloc/_malloc.h +143 -0
- package/sdk/ios/usr/include/malloc/_malloc_type.h +153 -0
- package/sdk/ios/usr/include/malloc/_platform.h +80 -0
- package/sdk/ios/usr/include/malloc/_ptrcheck.h +43 -0
- package/sdk/ios/usr/include/malloc/malloc.h +768 -0
- package/sdk/ios/usr/include/os/availability.h +168 -6
- package/sdk/ios/usr/include/os/base.h +351 -0
- package/sdk/ios/usr/include/os/clock.h +18 -0
- package/sdk/ios/usr/include/os/lock.h +232 -10
- package/sdk/ios/usr/include/os/log.h +521 -38
- package/sdk/ios/usr/include/os/object.h +320 -3
- package/sdk/ios/usr/include/os/trace.h +492 -0
- package/sdk/ios/usr/include/os/trace_base.h +167 -0
- package/sdk/ios/usr/include/os/workgroup.h +37 -0
- package/sdk/ios/usr/include/os/workgroup_base.h +91 -0
- package/sdk/ios/usr/include/os/workgroup_interval.h +156 -0
- package/sdk/ios/usr/include/os/workgroup_object.h +359 -0
- package/sdk/ios/usr/include/os/workgroup_parallel.h +76 -0
- package/sdk/ios/usr/include/sys/cdefs.h +38 -0
- package/sdk/ios/wasm/include/unistd.h +3 -0
- package/skills/contrast/SKILL.md +3 -0
- package/src/codex-client.ts +11 -6
- package/src/dev-bundle-resolution.ts +124 -48
- package/src/expo-native-workspace.ts +176 -0
- package/src/expo-swift-host.ts +161 -26
- package/src/expo-swift-ready.ts +14 -28
- package/src/expoSwiftContract.ts +4 -1
- package/src/generated/swift-c-predefines.json +68 -12
- package/src/host/bridge-host.ts +5 -0
- package/src/installed-package-versions.ts +14 -1
- package/src/metro-project-root.ts +44 -33
- package/src/native-app-identity-project.ts +1 -0
- package/src/nitro-adapter.lock.json +916 -10
- package/src/nitro-adapter.ts +33 -24
- package/src/nitro-bundle.ts +108 -22
- package/src/nitro-compile.ts +32 -5
- package/src/nitro-source.ts +13 -3
- package/src/nitroAdapterContract.ts +100 -20
- package/src/node-http-fetch.ts +116 -0
- package/src/packageVersionsContract.ts +46 -0
- package/src/serverDiscoveryContract.ts +1 -0
- package/src/settingsContract.ts +0 -30
- package/src/swift-binary-modules.ts +20 -5
- package/src/swift-compile.ts +168 -48
- package/src/swift-coverage/xcode-assets.ts +4 -3
- package/src/swift-host.ts +14 -3
- package/src/swift-objc-compile.ts +32 -5
- package/src/swift-objc-metadata.ts +2 -2
- package/src/swift-objc-platform.ts +2 -2
- package/src/swift-objc-standin.ts +43 -13
- package/src/swift-package.ts +33 -26
- package/src/swift-source-pods.ts +126 -41
- package/src/swift-standin-digest.ts +77 -0
- package/src/swift-standin-emit.ts +40 -4
- package/src/swift-standins.ts +68 -19
- package/src/swift-toolchain.ts +38 -0
- package/src/swiftContract.ts +8 -0
- package/src/vite-plugin.ts +0 -10
- package/src/xcode-project.ts +62 -42
- package/src/settings-flags.ts +0 -107
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/*
|
|
2
|
+
File: vecLib/vecLib.h
|
|
3
|
+
|
|
4
|
+
Contains: Master include for vecLib framework
|
|
5
|
+
|
|
6
|
+
Version: vecLib-1155.0
|
|
7
|
+
|
|
8
|
+
Copyright: Copyright (c) 2000-2026 by Apple Inc. All rights reserved.
|
|
9
|
+
|
|
10
|
+
Bugs: For bug reports, consult the following page on
|
|
11
|
+
the World Wide Web:
|
|
12
|
+
|
|
13
|
+
http://developer.apple.com/bugreporter/
|
|
14
|
+
|
|
15
|
+
*/
|
|
16
|
+
#ifndef __VECLIB__
|
|
17
|
+
#define __VECLIB__
|
|
18
|
+
|
|
19
|
+
#ifndef __VECLIBTYPES__
|
|
20
|
+
#include <vecLib/vecLibTypes.h>
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
#include <TargetConditionals.h>
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
#ifndef __VBIGNUM__
|
|
30
|
+
#include <vecLib/vBigNum.h>
|
|
31
|
+
#endif
|
|
32
|
+
|
|
33
|
+
#ifndef __VECTOROPS__
|
|
34
|
+
#include <vecLib/vectorOps.h>
|
|
35
|
+
#endif
|
|
36
|
+
|
|
37
|
+
#ifndef __VFP__
|
|
38
|
+
#include <vecLib/vfp.h>
|
|
39
|
+
#endif
|
|
40
|
+
|
|
41
|
+
#ifndef __VBASICOPS__
|
|
42
|
+
#include <vecLib/vBasicOps.h>
|
|
43
|
+
#endif
|
|
44
|
+
|
|
45
|
+
#ifndef __VDSP__
|
|
46
|
+
#include <vecLib/vDSP.h>
|
|
47
|
+
#endif
|
|
48
|
+
|
|
49
|
+
#if defined __i386__
|
|
50
|
+
#ifndef __VDSP_TRANSLATE__
|
|
51
|
+
#include <vecLib/vDSP_translate.h>
|
|
52
|
+
#endif
|
|
53
|
+
#endif
|
|
54
|
+
|
|
55
|
+
// LAPACK + BLAS Headers
|
|
56
|
+
|
|
57
|
+
#if !0 && !0
|
|
58
|
+
|
|
59
|
+
#include <vecLib/thread_api.h>
|
|
60
|
+
|
|
61
|
+
#endif
|
|
62
|
+
|
|
63
|
+
#if defined(ACCELERATE_NEW_LAPACK)
|
|
64
|
+
|
|
65
|
+
#include <vecLib/blas_new.h>
|
|
66
|
+
#include <vecLib/cblas_new.h>
|
|
67
|
+
#include <vecLib/lapack.h>
|
|
68
|
+
|
|
69
|
+
// Prevent nested inclusion of old headers if we are using the new ones
|
|
70
|
+
#define __FORTRAN_BLAS_H
|
|
71
|
+
#define CBLAS_H
|
|
72
|
+
#define __CLAPACK_H
|
|
73
|
+
|
|
74
|
+
#else // #if defined(ACCELERATE_NEW_LAPACK)
|
|
75
|
+
|
|
76
|
+
#ifndef __FORTRAN_BLAS_H
|
|
77
|
+
#include <vecLib/fortran_blas.h>
|
|
78
|
+
#endif
|
|
79
|
+
|
|
80
|
+
#ifndef CBLAS_H
|
|
81
|
+
#include <vecLib/cblas.h>
|
|
82
|
+
#endif
|
|
83
|
+
|
|
84
|
+
#ifndef __CLAPACK_H
|
|
85
|
+
#include <vecLib/clapack.h>
|
|
86
|
+
#endif
|
|
87
|
+
|
|
88
|
+
#endif // #if defined(ACCELERATE_NEW_LAPACK)
|
|
89
|
+
|
|
90
|
+
#ifndef __LINEAR_ALGEBRA_PUBLIC_HEADER__
|
|
91
|
+
#include <vecLib/LinearAlgebra/LinearAlgebra.h>
|
|
92
|
+
#endif
|
|
93
|
+
|
|
94
|
+
#ifndef __SPARSE_HEADER__
|
|
95
|
+
#include <vecLib/Sparse/Sparse.h>
|
|
96
|
+
#endif // __SPARSE_HEADER__
|
|
97
|
+
|
|
98
|
+
#ifndef SPARSE_SOLVE_HEADER
|
|
99
|
+
#include <vecLib/Sparse/Solve.h>
|
|
100
|
+
#endif // SPARSE_SOLVE_HEADER
|
|
101
|
+
|
|
102
|
+
#ifndef __QUADRATURE_PUBLIC_HEADER__
|
|
103
|
+
#include <vecLib/Quadrature/Quadrature.h>
|
|
104
|
+
#endif // __QUADRATURE_PUBLIC_HEADER__
|
|
105
|
+
|
|
106
|
+
#ifndef __BNNS_HEADER__
|
|
107
|
+
#include <vecLib/BNNS/bnns.h>
|
|
108
|
+
#endif // __BNNS_HEADER__
|
|
109
|
+
|
|
110
|
+
#ifndef __VFORCE_H
|
|
111
|
+
#include <vecLib/vForce.h>
|
|
112
|
+
#endif
|
|
113
|
+
|
|
114
|
+
#endif /* __VECLIB__ */
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/*
|
|
2
|
+
File: vecLib/vecLibTypes.h
|
|
3
|
+
|
|
4
|
+
Contains: Master include for vecLib framework
|
|
5
|
+
|
|
6
|
+
Version: vecLib-1155.0
|
|
7
|
+
|
|
8
|
+
Copyright: Copyright (c) 2000-2026 by Apple Inc. All rights reserved.
|
|
9
|
+
|
|
10
|
+
Bugs: For bug reports, consult the following page on
|
|
11
|
+
the World Wide Web:
|
|
12
|
+
|
|
13
|
+
http://developer.apple.com/bugreporter/
|
|
14
|
+
|
|
15
|
+
Various types are defined here to use with vecLib. For more generally
|
|
16
|
+
useful vector/SIMD types, please consider the headers in /usr/include/simd.
|
|
17
|
+
*/
|
|
18
|
+
#ifndef __VECLIBTYPES__
|
|
19
|
+
#define __VECLIBTYPES__
|
|
20
|
+
|
|
21
|
+
#if __has_include(<os/availability.h>)
|
|
22
|
+
# include <os/availability.h>
|
|
23
|
+
#endif // __has_include(<os/availability.h>)
|
|
24
|
+
|
|
25
|
+
#if PRAGMA_ONCE
|
|
26
|
+
#pragma once
|
|
27
|
+
#endif
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
#pragma options align=power
|
|
31
|
+
|
|
32
|
+
#if defined(__i386__) || defined(__x86_64__)
|
|
33
|
+
#include <immintrin.h>
|
|
34
|
+
#ifdef __SSE__
|
|
35
|
+
#if defined(__GNUC__)
|
|
36
|
+
typedef float vFloat __attribute__ ((__vector_size__ (16)));
|
|
37
|
+
#else /* not __GNUC__ */
|
|
38
|
+
typedef __m128 vFloat;
|
|
39
|
+
#endif /* __GNUC__ */
|
|
40
|
+
#endif /* defined(__SSE__) */
|
|
41
|
+
|
|
42
|
+
#ifdef __SSE2__
|
|
43
|
+
#define __VECLIBTYPES_VDOUBLE__ 1
|
|
44
|
+
|
|
45
|
+
#if defined(__GNUC__)
|
|
46
|
+
#if defined(__GNUC_MINOR__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ <= 3)) || (__GNUC__ < 3))
|
|
47
|
+
typedef __m128i vUInt8;
|
|
48
|
+
typedef __m128i vSInt8;
|
|
49
|
+
typedef __m128i vUInt16;
|
|
50
|
+
typedef __m128i vSInt16;
|
|
51
|
+
typedef __m128i vUInt32;
|
|
52
|
+
typedef __m128i vSInt32;
|
|
53
|
+
typedef __m128i vBool32;
|
|
54
|
+
typedef __m128i vUInt64;
|
|
55
|
+
typedef __m128i vSInt64;
|
|
56
|
+
typedef __m128d vDouble;
|
|
57
|
+
#else /* gcc-3.5 or later */
|
|
58
|
+
typedef unsigned char vUInt8 __attribute__ ((__vector_size__ (16)));
|
|
59
|
+
typedef char vSInt8 __attribute__ ((__vector_size__ (16)));
|
|
60
|
+
typedef unsigned short vUInt16 __attribute__ ((__vector_size__ (16)));
|
|
61
|
+
typedef short vSInt16 __attribute__ ((__vector_size__ (16)));
|
|
62
|
+
typedef unsigned int vUInt32 __attribute__ ((__vector_size__ (16)));
|
|
63
|
+
typedef int vSInt32 __attribute__ ((__vector_size__ (16)));
|
|
64
|
+
typedef unsigned int vBool32 __attribute__ ((__vector_size__ (16)));
|
|
65
|
+
typedef unsigned long long vUInt64 __attribute__ ((__vector_size__ (16)));
|
|
66
|
+
typedef long long vSInt64 __attribute__ ((__vector_size__ (16)));
|
|
67
|
+
typedef double vDouble __attribute__ ((__vector_size__ (16)));
|
|
68
|
+
#endif /* __GNUC__ <= 3.3 */
|
|
69
|
+
#else /* not __GNUC__ */
|
|
70
|
+
typedef __m128i vUInt8;
|
|
71
|
+
typedef __m128i vSInt8;
|
|
72
|
+
typedef __m128i vUInt16;
|
|
73
|
+
typedef __m128i vSInt16;
|
|
74
|
+
typedef __m128i vUInt32;
|
|
75
|
+
typedef __m128i vSInt32;
|
|
76
|
+
typedef __m128i vBool32;
|
|
77
|
+
typedef __m128i vUInt64;
|
|
78
|
+
typedef __m128i vSInt64;
|
|
79
|
+
typedef __m128d vDouble;
|
|
80
|
+
#endif /* __GNUC__ */
|
|
81
|
+
#endif /* defined(__SSE2__) */
|
|
82
|
+
|
|
83
|
+
#elif ( defined __arm__ || defined __arm64__ ) && defined __ARM_NEON__
|
|
84
|
+
|
|
85
|
+
#if !defined ARM_NEON_GCC_COMPATIBILITY
|
|
86
|
+
|
|
87
|
+
#define ARM_NEON_GCC_COMPATIBILITY
|
|
88
|
+
|
|
89
|
+
#if \
|
|
90
|
+
defined __ARM_NEON_H && \
|
|
91
|
+
defined __GNUC__ && \
|
|
92
|
+
! defined __clang__ && \
|
|
93
|
+
! defined SQUELCH_VECLIB_WARNINGS_ABOUT_BROKEN_NEON_TYPES
|
|
94
|
+
|
|
95
|
+
/* GCC decided to make neon vector types using something other
|
|
96
|
+
than basic C types as the underlying element by default. This
|
|
97
|
+
prevents the below types from being used with the functions in
|
|
98
|
+
arm_neon.h. GCC did put in a workaround, however. Define
|
|
99
|
+
ARM_NEON_GCC_COMPATIBILITY before including arm_neon.h and then
|
|
100
|
+
everything will start working as designed. You are getting this
|
|
101
|
+
warning because some other header included arm_neon.h without
|
|
102
|
+
defining ARM_NEON_GCC_COMPATIBILITY before we arrived here.
|
|
103
|
+
|
|
104
|
+
#define SQUELCH_VECLIB_WARNINGS_ABOUT_BROKEN_NEON_TYPES to silence this warning
|
|
105
|
+
*/
|
|
106
|
+
#warning "arm_neon.h was included without #define ARM_NEON_GCC_COMPATIBILITY. Vector types defined in vecLibTypes.h, such as vUInt8, might not work with NEON intrinsics."
|
|
107
|
+
|
|
108
|
+
#endif
|
|
109
|
+
|
|
110
|
+
#endif /* !defined ARM_NEON_GCC_COMPATIBILITY */
|
|
111
|
+
|
|
112
|
+
#include <arm_neon.h>
|
|
113
|
+
typedef unsigned char vUInt8 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
114
|
+
typedef signed char vSInt8 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
115
|
+
typedef unsigned short vUInt16 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
116
|
+
typedef signed short vSInt16 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
117
|
+
typedef unsigned int vUInt32 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
118
|
+
typedef signed int vSInt32 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
119
|
+
typedef unsigned long long vUInt64 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
120
|
+
typedef long long vSInt64 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
121
|
+
typedef float vFloat __attribute__((__vector_size__(16), __aligned__(16)));
|
|
122
|
+
typedef float vFloatPacked __attribute__((__vector_size__(16), __aligned__(4)));
|
|
123
|
+
typedef double vDouble __attribute__((__vector_size__(16), __aligned__(16)));
|
|
124
|
+
typedef unsigned int vBool32 __attribute__((__vector_size__(16), __aligned__(16)));
|
|
125
|
+
|
|
126
|
+
#else
|
|
127
|
+
|
|
128
|
+
typedef unsigned char vUInt8 __attribute__((__vector_size__(16)));
|
|
129
|
+
typedef signed char vSInt8 __attribute__((__vector_size__(16)));
|
|
130
|
+
typedef unsigned short vUInt16 __attribute__((__vector_size__(16)));
|
|
131
|
+
typedef signed short vSInt16 __attribute__((__vector_size__(16)));
|
|
132
|
+
typedef unsigned int vUInt32 __attribute__((__vector_size__(16)));
|
|
133
|
+
typedef signed int vSInt32 __attribute__((__vector_size__(16)));
|
|
134
|
+
typedef long long vSInt64 __attribute__((__vector_size__(16)));
|
|
135
|
+
typedef unsigned long long vUInt64 __attribute__((__vector_size__(16)));
|
|
136
|
+
typedef float vFloat __attribute__((__vector_size__(16)));
|
|
137
|
+
typedef double vDouble __attribute__((__vector_size__(16)));
|
|
138
|
+
typedef unsigned int vBool32 __attribute__((__vector_size__(16)));
|
|
139
|
+
|
|
140
|
+
#endif
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
#pragma options align=reset
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
#endif /* __VECLIBTYPES__ */
|