TensorStream::Evaluator::OpenclEvaluator TensorStream::Evaluator::RubyEvaluator model name : AMD Ryzen 3 1300X Quad-Core Processor OpenCL device NVIDIA CUDA GeForce GTX 1060 6GB Rehearsal -------------------------------------------------------------- pure ruby arr index : 0.005448 0.003557 0.009005 ( 0.008999) opencl arr index : 0.074642 0.190132 0.264774 ( 0.275557) pure ruby min : 0.256004 0.000777 0.256781 ( 0.256682) opencl min : 0.017543 0.004523 0.022066 ( 0.018797) pure ruby sum : 0.313039 0.000565 0.313604 ( 0.313535) opencl sum : 0.009037 0.004249 0.013286 ( 0.011073) pure ruby split : 0.017223 0.000300 0.017523 ( 0.017542) opencl split : 0.033489 0.014394 0.047883 ( 0.038798) pure ruby add_n : 0.159864 0.000153 0.160017 ( 0.159992) opencl add_n : 0.018535 0.000563 0.019098 ( 0.016168) pure ruby ooo matmul : 1.390970 0.000304 1.391274 ( 1.390790) opencl ooo matmul : 0.014119 0.000229 0.014348 ( 0.011738) pure ruby softmax : 0.024103 0.000014 0.024117 ( 0.024135) opencl softmax : 0.010602 0.004277 0.014879 ( 0.011941) pure ruby matmul : 0.668126 0.000006 0.668132 ( 0.667778) opencl matmul : 0.006672 0.007527 0.014199 ( 0.011594) pure ruby : 2.388817 0.000005 2.388822 ( 2.387870) opencl : 0.152289 0.007804 0.160093 ( 0.156279) pure ruby single function: 0.356575 0.000062 0.356637 ( 0.356488) opencl singlefunction: 0.120073 0.000210 0.120283 ( 0.116378) pure ruby pow float: 0.088966 0.000051 0.089017 ( 0.088996) opencl pow float: 0.018054 0.000100 0.018154 ( 0.015429) pure ruby pow int: 0.025430 0.000070 0.025500 ( 0.025524) opencl pow int: 0.015652 0.003880 0.019532 ( 0.017386) ----------------------------------------------------- total: 6.429024sec user system total real pure ruby arr index : 0.003564 0.000110 0.003674 ( 0.003636) opencl arr index : 0.007966 0.003974 0.011940 ( 0.009775) pure ruby min : 0.246153 0.000102 0.246255 ( 0.246172) opencl min : 0.011787 0.007785 0.019572 ( 0.016169) pure ruby sum : 0.294371 0.000000 0.294371 ( 0.294335) opencl sum : 0.008266 0.003879 0.012145 ( 0.009315) pure ruby split : 0.014552 0.000000 0.014552 ( 0.014539) opencl split : 0.037984 0.004037 0.042021 ( 0.033276) pure ruby add_n : 0.146300 0.000053 0.146353 ( 0.146319) opencl add_n : 0.006426 0.007827 0.014253 ( 0.011461) pure ruby ooo matmul : 1.373232 0.000096 1.373328 ( 1.372788) opencl ooo matmul : 0.013838 0.000000 0.013838 ( 0.011088) pure ruby softmax : 0.024478 0.000000 0.024478 ( 0.024493) opencl softmax : 0.014117 0.000022 0.014139 ( 0.011246) pure ruby matmul : 0.653146 0.000054 0.653200 ( 0.652889) opencl matmul : 0.002750 0.011934 0.014684 ( 0.011729) pure ruby : 2.392733 0.000058 2.392791 ( 2.391726) opencl : 0.140118 0.016001 0.156119 ( 0.151788) pure ruby single function: 0.352515 0.000000 0.352515 ( 0.352443) opencl singlefunction: 0.093955 0.011813 0.105768 ( 0.102301) pure ruby pow float: 0.083659 0.000000 0.083659 ( 0.083623) opencl pow float: 0.017433 0.000125 0.017558 ( 0.014508) pure ruby pow int: 0.018381 0.000000 0.018381 ( 0.018391) opencl pow int: 0.008186 0.003755 0.011941 ( 0.009828)