Class FloatToDoubleBenchmarkSample


  • public class FloatToDoubleBenchmarkSample
    extends java.lang.Object
    • Field Detail

      • matrixD

        protected double[][] matrixD
      • matrixF

        protected float[][] matrixF
      • vectorInD

        protected double[] vectorInD
      • vectorInF

        protected float[] vectorInF
      • vectorOutD

        protected double[] vectorOutD
      • vectorOutF

        protected float[] vectorOutF
      • doubleList

        protected java.util.ArrayList<java.lang.Double> doubleList
      • doubleArrayList

        protected it.unimi.dsi.fastutil.doubles.DoubleArrayList doubleArrayList
      • doubleArray

        protected double[] doubleArray
      • dataSet1

        protected de.gsi.dataset.spi.DoubleDataSet dataSet1
      • dataSet3

        protected de.gsi.dataset.spi.FloatDataSet dataSet3
    • Constructor Detail

      • FloatToDoubleBenchmarkSample

        public FloatToDoubleBenchmarkSample()
    • Method Detail

      • testMatrixVectorMultiplicationDouble

        public void testMatrixVectorMultiplicationDouble​(int nIterations)
      • testMatrixVectorMultiplicationFloat

        public void testMatrixVectorMultiplicationFloat​(int nIterations)
      • testDoubleListNative

        public void testDoubleListNative​(int nIterations)
      • testDoubleArrayList1

        public void testDoubleArrayList1​(int nIterations)
      • testDoubleArrayList2

        public void testDoubleArrayList2​(int nIterations)
      • testDoubleArrayPlain

        public void testDoubleArrayPlain​(int nIterations)
      • testDoubleDataSetOld1

        public void testDoubleDataSetOld1​(int nIterations,
                                          boolean notify,
                                          boolean lock)
      • testDoubleDataSetOld2

        public void testDoubleDataSetOld2​(int nIterations,
                                          boolean notify,
                                          boolean lock)
      • testDoubleDataSetNew1

        public void testDoubleDataSetNew1​(int nIterations,
                                          boolean notify,
                                          boolean lock)
      • testDoubleDataSetNew2

        public void testDoubleDataSetNew2​(int nIterations,
                                          boolean notify,
                                          boolean lock)
      • testFloatDataSetNew1

        public void testFloatDataSetNew1​(int nIterations,
                                         boolean notify,
                                         boolean lock)
      • testFloatDataSetNew2

        public void testFloatDataSetNew2​(int nIterations,
                                         boolean notify,
                                         boolean lock)
      • main

        public static void main​(java.lang.String[] args)