TensorStream::Evaluator::OpenclEvaluator TensorStream::Evaluator::RubyEvaluator Intel(R) Core(TM) i5-5575R CPU @ 2.80GHz OpenCL device Apple Intel(R) Iris(TM) Pro Graphics 6200 Rehearsal ------------------------------------------------------------ ruby argmin : 0.940000 0.030000 0.970000 ( 1.197240) opencl argmin : 0.070000 0.020000 0.090000 ( 0.093035) ruby bias_add_grad : 2.390000 0.060000 2.450000 ( 2.558622) opencl bias_add_grad : 0.020000 0.010000 0.030000 ( 0.030563) ruby bias_add : 2.530000 0.070000 2.600000 ( 2.749423) opencl bias_add : 0.150000 0.030000 0.180000 ( 0.191476) ruby conv2d_backprop : 4.020000 0.060000 4.080000 ( 5.306408) opencl conv2d_backprop : 0.040000 0.030000 0.070000 ( 0.077737) ruby conv2d : 0.890000 0.010000 0.900000 ( 0.963062) opencl conv2d : 0.030000 0.010000 0.040000 ( 0.042274) ruby arr index : 0.000000 0.000000 0.000000 ( 0.004072) opencl arr index : 0.010000 0.010000 0.020000 ( 0.023981) ruby min : 3.710000 0.040000 3.750000 ( 4.329215) opencl min : 0.160000 0.030000 0.190000 ( 0.191062) ruby sum : 6.930000 0.080000 7.010000 ( 7.467194) opencl sum : 0.010000 0.010000 0.020000 ( 0.034392) ruby sum axis 1 : 6.920000 0.070000 6.990000 ( 7.412997) opencl sum axis 1 : 0.020000 0.020000 0.040000 ( 0.027614) ruby split : 0.020000 0.000000 0.020000 ( 0.022597) opencl split : 0.060000 0.040000 0.100000 ( 0.099309) ruby add_n : 0.150000 0.000000 0.150000 ( 0.162702) opencl add_n : 0.020000 0.020000 0.040000 ( 0.033757) ruby ooo matmul : 1.670000 0.010000 1.680000 ( 1.738712) opencl ooo matmul : 0.020000 0.010000 0.030000 ( 0.029647) ruby softmax : 0.030000 0.000000 0.030000 ( 0.033050) opencl softmax : 0.020000 0.010000 0.030000 ( 0.030572) ruby matmul : 0.820000 0.010000 0.830000 ( 0.851559) opencl matmul : 0.010000 0.010000 0.020000 ( 0.026167) ruby : 2.860000 0.020000 2.880000 ( 3.033034) opencl : 0.220000 0.070000 0.290000 ( 0.240857) ruby single function : 0.380000 0.000000 0.380000 ( 0.398911) opencl single function : 0.150000 0.050000 0.200000 ( 0.162006) ruby pow float : 0.090000 0.000000 0.090000 ( 0.098400) opencl pow float : 0.020000 0.020000 0.040000 ( 0.033370) ruby pow int : 0.020000 0.000000 0.020000 ( 0.023459) opencl pow int : 0.020000 0.010000 0.030000 ( 0.030894) -------------------------------------------------- total: 36.290000sec user system total real ruby argmin : 0.880000 0.010000 0.890000 ( 0.933367) opencl argmin : 0.010000 0.010000 0.020000 ( 0.023140) ruby bias_add_grad : 2.350000 0.050000 2.400000 ( 2.539349) opencl bias_add_grad : 0.010000 0.010000 0.020000 ( 0.024700) ruby bias_add : 2.510000 0.060000 2.570000 ( 2.667330) opencl bias_add : 0.150000 0.020000 0.170000 ( 0.184056) ruby conv2d_backprop : 3.910000 0.040000 3.950000 ( 4.320383) opencl conv2d_backprop : 0.030000 0.020000 0.050000 ( 0.058036) ruby conv2d : 0.910000 0.020000 0.930000 ( 1.120605) opencl conv2d : 0.020000 0.010000 0.030000 ( 0.034972) ruby arr index : 0.000000 0.000000 0.000000 ( 0.004119) opencl arr index : 0.020000 0.010000 0.030000 ( 0.024126) ruby min : 3.670000 0.030000 3.700000 ( 4.024439) opencl min : 0.140000 0.030000 0.170000 ( 0.178683) ruby sum : 6.920000 0.050000 6.970000 ( 7.314338) opencl sum : 0.010000 0.020000 0.030000 ( 0.024655) ruby sum axis 1 : 6.900000 0.050000 6.950000 ( 7.332897) opencl sum axis 1 : 0.020000 0.020000 0.040000 ( 0.026150) ruby split : 0.010000 0.000000 0.010000 ( 0.018866) opencl split : 0.050000 0.040000 0.090000 ( 0.096327) ruby add_n : 0.140000 0.000000 0.140000 ( 0.151006) opencl add_n : 0.020000 0.010000 0.030000 ( 0.025622) ruby ooo matmul : 1.670000 0.010000 1.680000 ( 1.732486) opencl ooo matmul : 0.020000 0.020000 0.040000 ( 0.027051) ruby softmax : 0.030000 0.000000 0.030000 ( 0.032848) opencl softmax : 0.010000 0.010000 0.020000 ( 0.026403) ruby matmul : 0.810000 0.000000 0.810000 ( 0.866297) opencl matmul : 0.020000 0.020000 0.040000 ( 0.026677) ruby : 2.870000 0.020000 2.890000 ( 3.237224) opencl : 0.240000 0.080000 0.320000 ( 0.302463) ruby single function : 0.390000 0.010000 0.400000 ( 0.470700) opencl single function : 0.150000 0.060000 0.210000 ( 0.228528) ruby pow float : 0.090000 0.000000 0.090000 ( 0.113073) opencl pow float : 0.020000 0.010000 0.030000 ( 0.036938) ruby pow int : 0.020000 0.000000 0.020000 ( 0.023728) opencl pow int : 0.020000 0.020000 0.040000 ( 0.031909)