Blaze  3.6
Macros
Optimizations.h File Reference

Configuration of performance optimizations. More...

Go to the source code of this file.

Macros

#define BLAZE_USE_STREAMING   1
 Configuration of the padding of dense vectors and matrices.This configuration switch enables/disables the padding of dense vectors and matrices. Padding is used by the Blaze library in order to achieve maximum performance for both dense vector and matrix operations. Due to padding, the proper alignment of data elements can be guaranteed and the need for remainder loops is minimized. In case padding is enabled, it is enabled for all native dense vectors and matrices. If padding is disabled, it is generally disabled. More...
 
#define BLAZE_USE_OPTIMIZED_KERNELS   1
 Configuration switch for optimized kernels.This configuration switch enables/disables all optimized compute kernels of the Blaze library, including all vectorized and data type depending kernels. In case the switch is set to 1 the optimized kernels are used whenever possible. In case the switch is set to 0 all optimized kernels are not used, even if it would be possible. More...
 
#define BLAZE_USE_DEFAULT_INITIALIZATION   1
 Configuration switch for the initialization in default constructors.This configuration switch enables/disables the element initialization in the default constructors of the StaticVector and StaticMatrix class templates. In case the switch is set to 1 all elements are initialized to their respective default. In case the switch is set to 0 the default initialization is skipped and the elements are not initialized. Please note that this switch is only effective in case the elements are of fundamental type (i.e. integral or floating point). In case the elements are of class type, this switch has no effect. More...
 

Detailed Description

Configuration of performance optimizations.

Copyright (C) 2012-2019 Klaus Iglberger - 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.