Home

Awesome

<!-- =================================================================================================--> <!-- --> <!-- Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved --> <!-- Copyright (C) 2018 Hartmut Kaiser - All Rights Reserved --> <!-- --> <!-- This file is part of the Blaze library. You can redistribute it and/or modify it under --> <!-- the terms of the New (Revised) BSD License. Redistribution and use in source and binary --> <!-- forms, with or without modification, are permitted provided that the following conditions --> <!-- are met: --> <!-- --> <!-- 1. Redistributions of source code must retain the above copyright notice, this list of --> <!-- conditions and the following disclaimer. --> <!-- 2. Redistributions in binary form must reproduce the above copyright notice, this list --> <!-- of conditions and the following disclaimer in the documentation and/or other materials --> <!-- provided with the distribution. --> <!-- 3. Neither the names of the Blaze development group nor the names of its contributors --> <!-- may be used to endorse or promote products derived from this software without specific --> <!-- prior written permission. --> <!-- --> <!-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY --> <!-- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES --> <!-- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT --> <!-- SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, --> <!-- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --> <!-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR --> <!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN --> <!-- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN --> <!-- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH --> <!-- DAMAGE. --> <!-- --> <!-- =================================================================================================-->

3D Tensors for Blaze

This project implements 3D datastructures (tensors) that integrate well with the Blaze library.

All the highlights listed for Blaze apply to BlazeTensor as well:

The implemented facilities are verified using a thorough testing environment. The CircleCI contiguous integration service tracks the current build status for the master branch: CircleCI.

What's implemented:

Datastructures

Views

Operations

We have created a list of things that need to be implemented: TODO: Things to implement. This is a good starting point if you would like to help developing BlazeTensor.

Building and installing BlazeTensor

In order to use BlazeTensor you will need a proper installation of the Blaze library. Please see here for instructions on how to install it. Please note that you will need a very recent version (preferrably top of master) of Blaze. If you want to run the BlazeTensor tests you will also need the Blaze source directory.

  1. Clone this repository
  2. Create a build directory
    $ mkdir build
    $ cd build
    
  3. Call cmake with the relevant options:
    $ cmake -DCMAKE_INSTALL_PREFIX=/opt/BlazeTensor -Dblaze_DIR=<blaze_dir> <srcdir>
    
    here: <blaze_dir> should refer to the directory that contains the file blaze-config.cmake that was created during installation of Blaze.
  4. Build and install:
    $ make
    $ make install
    
  5. If you want to build the tests, additionally specify -DBLAZETENSOR_WITH_TESTS=ON and -Dblazetest_DIR=<blazesrc/blazetest> on the cmake command line. Run the tests with make tests.

BlazeTensor is a header only C++ library. Projects depending on it should make sure the headers are being found by the compiler. If your depending project uses cmake, just add find_package(BlazeTensor) to your scripts and refer to the target named BlazeTensor::BlazeTensor.

Communication

A channel on the freenode IRC network is used for discussions on BlazeTensor: #ste||ar on freenode (via SSL). Feel free to use the Github issue tracker for questions, bug reports, and feature requests.

License

BlazeTensor is released under the terms of the New (Revised) BSD license.

Acknowledgements

We would like to acknowledge the NSF, DoD, and the Center for Computation and Technology (CCT) at Louisiana State University (LSU).

BlazeTensor is currently funded by: