cnuernber / dtype-next

A Clojure library designed to aid in the implementation of high performance algorithms and systems.
Other
339 stars 21 forks source link
clojure graal-native hpc

dtype-next

Next generation high performance Clojure toolkit.

Clojars Project Build Status

Checkout The:

New Functionality

Description

dtype-next provides a unified pathway for dealing with contiguous containers of primitive datatypes such as ints and floats. In addition it defines the basis for array programming as found in APL or numpy and a deep Java interface hierarchy with default methods to allow implementing new arrays painless. This interface hierarchy integrates with Java Streams, Spliterators, and various members of the java.util.function package. In addition it extends these concepts to native-heap based containers.

There are namespaces to allow elementwise operations across scalars and arrays, highly optimized reductions across index spaces, and algorithms that operate in index space for use when multiple buffers share an index space.

This library forms the numeric basis that underlies the 'tech.ml.dataset' system. It also defines a language independent ABI which allows zerocopy to C-based systems such as numpy, OpenCV, Julia, TVM and neanderthal.

Additional targets of this library:

Native Test

Use the scripts to get graal and compile test. The code is located under native-test; so far reader/writing/copying all work for native and jvm heap datasets. Tensors work.

Graal Native

Test Dependencies

License

Copyright © 2020 Chris Nuernberger

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.