numbl 0.2.0 → 0.3.0
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/binding.gyp +8 -3
- package/dist-cli/cli.js +6676 -3695
- package/dist-lib/lib.js +6703 -3341
- package/dist-lib/numbl-core/executeCode.d.ts +3 -10
- package/dist-lib/numbl-core/fileIOAdapter.d.ts +2 -0
- package/dist-lib/numbl-core/interpreter/interpreter.d.ts +28 -24
- package/dist-lib/numbl-core/jit/e1/complexKernelEmit.d.ts +46 -0
- package/dist-lib/numbl-core/jit/e1/hash.d.ts +10 -0
- package/dist-lib/numbl-core/jit/e1/kernelEmit.d.ts +1 -1
- package/dist-lib/numbl-core/jit/e1/multiReductionKernel.d.ts +66 -0
- package/dist-lib/numbl-core/jit/e2/assignKernel.d.ts +34 -0
- package/dist-lib/numbl-core/jit/e2/astToJitExpr.d.ts +25 -0
- package/dist-lib/numbl-core/jit/e2/cache.d.ts +80 -0
- package/dist-lib/numbl-core/jit/e2/chainKernelEmit.d.ts +55 -0
- package/dist-lib/numbl-core/jit/e2/classify.d.ts +119 -0
- package/dist-lib/numbl-core/jit/e2/compileFn.d.ts +16 -0
- package/dist-lib/numbl-core/jit/e2/complexChainKernelEmit.d.ts +79 -0
- package/dist-lib/numbl-core/jit/e2/emitShared.d.ts +71 -0
- package/dist-lib/numbl-core/jit/e2/install.d.ts +11 -0
- package/dist-lib/numbl-core/jit/e2/liveness.d.ts +29 -0
- package/dist-lib/numbl-core/jit/e2/loopKernel.d.ts +49 -0
- package/dist-lib/numbl-core/jit/e2/loopKernelEmit.d.ts +75 -0
- package/dist-lib/numbl-core/jit/e2/multiReductionDriver.d.ts +24 -0
- package/dist-lib/numbl-core/jit/e2/reductionKernelEmit.d.ts +72 -0
- package/dist-lib/numbl-core/jit/e2/scalarFnDriver.d.ts +29 -0
- package/dist-lib/numbl-core/jit/fusedScalarEmit.d.ts +8 -0
- package/dist-lib/numbl-core/jit/heavyOps.d.ts +15 -0
- package/dist-lib/numbl-core/jit/js/jitCodegen.d.ts +1 -1
- package/dist-lib/numbl-core/jit/js/jsFusedCodegen.d.ts +1 -1
- package/dist-lib/numbl-core/jit/js/jsMultiReduction.d.ts +70 -0
- package/dist-lib/numbl-core/version.d.ts +1 -1
- package/native/numbl_addon.cpp +9 -0
- package/package.json +2 -4
- package/dist-lib/numbl-core/jit/c/hybrid.d.ts +0 -42
- package/dist-lib/numbl-core/jit/c/install.d.ts +0 -15
- package/dist-lib/numbl-core/jit/c/parityError.d.ts +0 -26
- package/dist-lib/numbl-core/jit/c/registry.d.ts +0 -51
package/binding.gyp
CHANGED
|
@@ -40,8 +40,6 @@
|
|
|
40
40
|
],
|
|
41
41
|
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ],
|
|
42
42
|
"libraries": [
|
|
43
|
-
"-lopenblas",
|
|
44
|
-
"-lmvec",
|
|
45
43
|
"-lm",
|
|
46
44
|
"<!@(pkg-config --libs fftw3 2>/dev/null || echo '-lfftw3')",
|
|
47
45
|
"<!@(pkg-config --libs-only-L fftw3 2>/dev/null | sed 's/-L/-Wl,-rpath,/g' || true)"
|
|
@@ -53,7 +51,14 @@
|
|
|
53
51
|
['OS=="linux"', {
|
|
54
52
|
"cflags_c": [ "-fopenmp" ],
|
|
55
53
|
"cflags_cc": [ "-fopenmp" ],
|
|
56
|
-
"libraries": [ "-fopenmp" ]
|
|
54
|
+
"libraries": [ "-lopenblas", "-lmvec", "-fopenmp" ]
|
|
55
|
+
}],
|
|
56
|
+
['OS=="mac"', {
|
|
57
|
+
# Use Apple's Accelerate framework for BLAS/LAPACK — ships with
|
|
58
|
+
# macOS, so no Homebrew openblas install or keg-only linker path
|
|
59
|
+
# wrangling. The classic Fortran ABI (dgetrf_, etc.) that the
|
|
60
|
+
# native sources declare is provided by Accelerate.
|
|
61
|
+
"libraries": [ "-framework Accelerate" ]
|
|
57
62
|
}]
|
|
58
63
|
]
|
|
59
64
|
},
|