Comments (11)
Any updates on this? Would be great to have a working windows build..
from glow.
I've already could be able to running it under Windows, but there tests errors with intel OpenCL driver.
And also problem with NVIDIA OpenCL driver
For Intel CPU
llvm\projects\glow\tests\unittests\operatortest.cpp(132): error: The difference between H.at({0, 0}) and 27 is 20, which exceeds 0.001, where
H.at({0, 0}) evaluates to 7,
27 evaluates to 27, and
0.001 evaluates to 0.001.
llvm\projects\glow\tests\unittests\operatortest.cpp(133): error: The difference between H.at({1, 0}) and 61 is 47, which exceeds 0.001, where
H.at({1, 0}) evaluates to 14,
61 evaluates to 61, and
0.001 evaluates to 0.001.
llvm\projects\glow\tests\unittests\operatortest.cpp(134): error: The difference between H.at({2, 0}) and 95 is 74, which exceeds 0.001, where
H.at({2, 0}) evaluates to 21,
95 evaluates to 95, and
0.001 evaluates to 0.001.
[ FAILED ] OpenCL/Operator.matmul/0, where GetParam() = 4-byte object <01-00 00-00> (5429 ms)
And I don't know what's the running time should be, the Operator.weightedSum test costing a lot of time.
For NVIDIA CUDA OpenCL Driver:
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from OpenCLCorrectnessTest
[ RUN ] OpenCLCorrectnessTest.reluTest
<kernel>:979:36: error: __kernel function cannot have argument whose type is, or contains, type size_t
size_t count, size_t axis) {
^
<kernel>:979:50: error: __kernel function cannot have argument whose type is, or contains, type size_t
size_t count, size_t axis) {
^
<kernel>:1007:54: error: __kernel function cannot have argument whose type is, or contains, type size_t
llvm\projects\glow\lib\backends\opencl\opencl.cpp:209: failed assertion `err == CL_SUCCESS && "clBuildProgram Failed."'
For Intel U630 GPU Driver:
[ RUN ] OpenCLCorrectnessTest.convOps
llvm\projects\glow\lib\backends\opencl\opencl.cpp:217: failed assertion `err == CL_SUCCESS && "Unable to set parameter"'
from glow.
OK, now I know what's happening.
A first test result for operatorTest
[==========] Running 80 tests from 4 test cases.
[----------] Global test environment set-up.
[----------] 41 tests from Interpreter/InterpAndCPU
[ RUN ] Interpreter/InterpAndCPU.pow/0
[ OK ] Interpreter/InterpAndCPU.pow/0 (6 ms)
[ RUN ] Interpreter/InterpAndCPU.log/0
[ OK ] Interpreter/InterpAndCPU.log/0 (3 ms)
[ RUN ] Interpreter/InterpAndCPU.CmpEQ/0
[ OK ] Interpreter/InterpAndCPU.CmpEQ/0 (3 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceAddWithAxis/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceAddWithAxis/0 (2 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceAddQuantized/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceAddQuantized/0 (2 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceAddQuantizedWithAxis/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceAddQuantizedWithAxis/0 (3 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceMeanWithAxis/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceMeanWithAxis/0 (5 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceMeanQuantized/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceMeanQuantized/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceMeanQuantizedWithAxis/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceMeanQuantizedWithAxis/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.broadcastSimple/0
[ OK ] Interpreter/InterpAndCPU.broadcastSimple/0 (9 ms)
[ RUN ] Interpreter/InterpAndCPU.broadcast/0
[ OK ] Interpreter/InterpAndCPU.broadcast/0 (13 ms)
[ RUN ] Interpreter/InterpAndCPU.TopK/0
[ OK ] Interpreter/InterpAndCPU.TopK/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.TopK1/0
[ OK ] Interpreter/InterpAndCPU.TopK1/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedTopK/0
[ OK ] Interpreter/InterpAndCPU.QuantizedTopK/0 (3 ms)
[ RUN ] Interpreter/InterpAndCPU.ScatterAssignQuantized/0
[ OK ] Interpreter/InterpAndCPU.ScatterAssignQuantized/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.IntMatMul/0
[ OK ] Interpreter/InterpAndCPU.IntMatMul/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.IntBatchedArith/0
[ OK ] Interpreter/InterpAndCPU.IntBatchedArith/0 (5 ms)
[ RUN ] Interpreter/InterpAndCPU.IntConvolutionDepth10/0
[ OK ] Interpreter/InterpAndCPU.IntConvolutionDepth10/0 (29 ms)
[ RUN ] Interpreter/InterpAndCPU.IntConvolutionDepth8/0
[ OK ] Interpreter/InterpAndCPU.IntConvolutionDepth8/0 (25 ms)
[ RUN ] Interpreter/InterpAndCPU.IntConcat/0
[ OK ] Interpreter/InterpAndCPU.IntConcat/0 (8 ms)
[ RUN ] Interpreter/InterpAndCPU.IntFC/0
[ OK ] Interpreter/InterpAndCPU.IntFC/0 (23 ms)
[ RUN ] Interpreter/InterpAndCPU.EntropyLossTest/0
[ OK ] Interpreter/InterpAndCPU.EntropyLossTest/0 (2 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedArithmeticRescaled/0
[ OK ] Interpreter/InterpAndCPU.QuantizedArithmeticRescaled/0 (20 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedArithmeticUnrescaled/0
[ OK ] Interpreter/InterpAndCPU.QuantizedArithmeticUnrescaled/0 (10 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedCmpLTEAndSelect/0
[ OK ] Interpreter/InterpAndCPU.QuantizedCmpLTEAndSelect/0 (6 ms)
[ RUN ] Interpreter/InterpAndCPU.concatVectors/0
[ OK ] Interpreter/InterpAndCPU.concatVectors/0 (3 ms)
[ RUN ] Interpreter/InterpAndCPU.concatVectorsRepeated/0
[ OK ] Interpreter/InterpAndCPU.concatVectorsRepeated/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.sliceVectors/0
[ OK ] Interpreter/InterpAndCPU.sliceVectors/0 (5 ms)
[ RUN ] Interpreter/InterpAndCPU.sliceConcatVectors/0
[ OK ] Interpreter/InterpAndCPU.sliceConcatVectors/0 (9 ms)
[ RUN ] Interpreter/InterpAndCPU.Tile/0
[ OK ] Interpreter/InterpAndCPU.Tile/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedTile/0
[ OK ] Interpreter/InterpAndCPU.QuantizedTile/0 (7 ms)
[ RUN ] Interpreter/InterpAndCPU.ChannelShuffle/0
[ OK ] Interpreter/InterpAndCPU.ChannelShuffle/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.Split/0
[ OK ] Interpreter/InterpAndCPU.Split/0 (6 ms)
[ RUN ] Interpreter/InterpAndCPU.IntRelu/0
[ OK ] Interpreter/InterpAndCPU.IntRelu/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.IntSplat/0
[ OK ] Interpreter/InterpAndCPU.IntSplat/0 (3 ms)
[ RUN ] Interpreter/InterpAndCPU.GroupConvolution/0
[ OK ] Interpreter/InterpAndCPU.GroupConvolution/0 (3 ms)
[ RUN ] Interpreter/InterpAndCPU.NonSquarePaddingConvolution/0
[ OK ] Interpreter/InterpAndCPU.NonSquarePaddingConvolution/0 (8 ms)
[ RUN ] Interpreter/InterpAndCPU.Int8Tanh/0
[ OK ] Interpreter/InterpAndCPU.Int8Tanh/0 (6 ms)
[ RUN ] Interpreter/InterpAndCPU.Int8Sigmoid/0
[ OK ] Interpreter/InterpAndCPU.Int8Sigmoid/0 (5 ms)
[ RUN ] Interpreter/InterpAndCPU.IntLookupTable/0
[ OK ] Interpreter/InterpAndCPU.IntLookupTable/0 (3 ms)
[ RUN ] Interpreter/InterpAndCPU.testQuantizedBatchAdd/0
[ OK ] Interpreter/InterpAndCPU.testQuantizedBatchAdd/0 (12 ms)
[----------] 41 tests from Interpreter/InterpAndCPU (356 ms total)
[----------] 19 tests from Interpreter/Operator
[ RUN ] Interpreter/Operator.matmul/0
[ OK ] Interpreter/Operator.matmul/0 (3 ms)
[ RUN ] Interpreter/Operator.Load/0
[ OK ] Interpreter/Operator.Load/0 (3 ms)
[ RUN ] Interpreter/Operator.batchedReduceAdd/0
[ OK ] Interpreter/Operator.batchedReduceAdd/0 (2 ms)
[ RUN ] Interpreter/Operator.batchedReduceMean/0
[ OK ] Interpreter/Operator.batchedReduceMean/0 (4 ms)
[ RUN ] Interpreter/Operator.batchedBatchedAdd/0
[ OK ] Interpreter/Operator.batchedBatchedAdd/0 (3 ms)
[ RUN ] Interpreter/Operator.weightedSum/0
[ OK ] Interpreter/Operator.weightedSum/0 (12 ms)
[ RUN ] Interpreter/Operator.minElem/0
[ OK ] Interpreter/Operator.minElem/0 (3 ms)
[ RUN ] Interpreter/Operator.matMul/0
[ OK ] Interpreter/Operator.matMul/0 (9 ms)
[ RUN ] Interpreter/Operator.Gather/0
[ OK ] Interpreter/Operator.Gather/0 (3 ms)
[ RUN ] Interpreter/Operator.ScatterAssign/0
[ OK ] Interpreter/Operator.ScatterAssign/0 (3 ms)
[ RUN ] Interpreter/Operator.QuantizeAndDequantize/0
[ OK ] Interpreter/Operator.QuantizeAndDequantize/0 (2 ms)
[ RUN ] Interpreter/Operator.RescaleNode/0
[ OK ] Interpreter/Operator.RescaleNode/0 (2 ms)
[ RUN ] Interpreter/Operator.TestQuantizedRescaleSequence/0
[ OK ] Interpreter/Operator.TestQuantizedRescaleSequence/0 (6 ms)
[ RUN ] Interpreter/Operator.FCGradientCheck/0
[ OK ] Interpreter/Operator.FCGradientCheck/0 (17 ms)
[ RUN ] Interpreter/Operator.simpleCmpSelectPredication/0
[ OK ] Interpreter/Operator.simpleCmpSelectPredication/0 (52 ms)
[ RUN ] Interpreter/Operator.simplePredication/0
[ OK ] Interpreter/Operator.simplePredication/0 (90 ms)
[ RUN ] Interpreter/Operator.Squeeze/0
[ OK ] Interpreter/Operator.Squeeze/0 (7 ms)
[ RUN ] Interpreter/Operator.ExpandDims/0
[ OK ] Interpreter/Operator.ExpandDims/0 (3 ms)
[ RUN ] Interpreter/Operator.testBatchAdd/0
[ OK ] Interpreter/Operator.testBatchAdd/0 (10 ms)
[----------] 19 tests from Interpreter/Operator (272 ms total)
[----------] 19 tests from OpenCL/Operator
[ RUN ] OpenCL/Operator.matmul/0
[ OK ] OpenCL/Operator.matmul/0 (1834 ms)
[ RUN ] OpenCL/Operator.Load/0
[ OK ] OpenCL/Operator.Load/0 (402 ms)
[ RUN ] OpenCL/Operator.batchedReduceAdd/0
[ OK ] OpenCL/Operator.batchedReduceAdd/0 (393 ms)
[ RUN ] OpenCL/Operator.batchedReduceMean/0
[ OK ] OpenCL/Operator.batchedReduceMean/0 (395 ms)
[ RUN ] OpenCL/Operator.batchedBatchedAdd/0
[ OK ] OpenCL/Operator.batchedBatchedAdd/0 (400 ms)
[ RUN ] OpenCL/Operator.weightedSum/0
[ OK ] OpenCL/Operator.weightedSum/0 (404 ms)
[ RUN ] OpenCL/Operator.minElem/0
[ OK ] OpenCL/Operator.minElem/0 (399 ms)
[ RUN ] OpenCL/Operator.matMul/0
[ OK ] OpenCL/Operator.matMul/0 (401 ms)
[ RUN ] OpenCL/Operator.Gather/0
llvm\projects\glow\tests\unittests\operatortest.cpp(791): error: Expected: H.at({0, 1, 0})
Which is: 1
To be equal to: 2.3
llvm\projects\glow\tests\unittests\operatortest.cpp(792): error: Expected: H.at({0, 1, 1})
Which is: 1.2
To be equal to: 3.4
Which is: 3.4000001
llvm\projects\glow\tests\unittests\operatortest.cpp(793): error: Expected: H.at({0, 2, 0})
Which is: 2.3
To be equal to: 1.0
Which is: 1
llvm\projects\glow\tests\unittests\operatortest.cpp(794): error: Expected: H.at({0, 2, 1})
Which is: 3.4000001
To be equal to: 1.2
llvm\projects\glow\tests\unittests\operatortest.cpp(795): error: Expected: H.at({0, 3, 0})
Which is: 4.5
To be equal to: 2.3
llvm\projects\glow\tests\unittests\operatortest.cpp(796): error: Expected: H.at({0, 3, 1})
Which is: 5.6999998
To be equal to: 3.4
Which is: 3.4000001
llvm\projects\glow\tests\unittests\operatortest.cpp(798): error: Expected: H.at({1, 0, 0})
Which is: 1
To be equal to: 2.3
llvm\projects\glow\tests\unittests\operatortest.cpp(799): error: Expected: H.at({1, 0, 1})
Which is: 1.2
To be equal to: 3.4
Which is: 3.4000001
llvm\projects\glow\tests\unittests\operatortest.cpp(800): error: Expected: H.at({1, 1, 0})
Which is: 1
To be equal to: 4.5
llvm\projects\glow\tests\unittests\operatortest.cpp(801): error: Expected: H.at({1, 1, 1})
Which is: 1.2
To be equal to: 5.7
Which is: 5.6999998
llvm\projects\glow\tests\unittests\operatortest.cpp(802): error: Expected: H.at({1, 2, 0})
Which is: 1
To be equal to: 4.5
llvm\projects\glow\tests\unittests\operatortest.cpp(803): error: Expected: H.at({1, 2, 1})
Which is: 1.2
To be equal to: 5.7
Which is: 5.6999998
[ FAILED ] OpenCL/Operator.Gather/0, where GetParam() = 4-byte object <01-00 00-00> (414 ms)
[ RUN ] OpenCL/Operator.ScatterAssign/0
llvm\projects\glow\tests\unittests\operatortest.cpp(827): error: Expected: H.at({0, 0})
Which is: -7
To be equal to: 1.0
Which is: 1
llvm\projects\glow\tests\unittests\operatortest.cpp(828): error: Expected: H.at({0, 1})
Which is: -8
To be equal to: 2.0
Which is: 2
llvm\projects\glow\tests\unittests\operatortest.cpp(833): error: Expected: H.at({3, 0})
Which is: 7
To be equal to: -7.0
Which is: -7
llvm\projects\glow\tests\unittests\operatortest.cpp(834): error: Expected: H.at({3, 1})
Which is: 8
To be equal to: -8.0
Which is: -8
[ FAILED ] OpenCL/Operator.ScatterAssign/0, where GetParam() = 4-byte object <01-00 00-00> (405 ms)
[ RUN ] OpenCL/Operator.QuantizeAndDequantize/0
[ OK ] OpenCL/Operator.QuantizeAndDequantize/0 (406 ms)
[ RUN ] OpenCL/Operator.RescaleNode/0
[ OK ] OpenCL/Operator.RescaleNode/0 (392 ms)
[ RUN ] OpenCL/Operator.TestQuantizedRescaleSequence/0
[ OK ] OpenCL/Operator.TestQuantizedRescaleSequence/0 (395 ms)
[ RUN ] OpenCL/Operator.FCGradientCheck/0
[ OK ] OpenCL/Operator.FCGradientCheck/0 (409 ms)
[ RUN ] OpenCL/Operator.simpleCmpSelectPredication/0
[ OK ] OpenCL/Operator.simpleCmpSelectPredication/0 (453 ms)
[ RUN ] OpenCL/Operator.simplePredication/0
[ OK ] OpenCL/Operator.simplePredication/0 (425 ms)
[ RUN ] OpenCL/Operator.Squeeze/0
[ OK ] OpenCL/Operator.Squeeze/0 (587 ms)
[ RUN ] OpenCL/Operator.ExpandDims/0
[ OK ] OpenCL/Operator.ExpandDims/0 (390 ms)
[ RUN ] OpenCL/Operator.testBatchAdd/0
[ OK ] OpenCL/Operator.testBatchAdd/0 (403 ms)
[----------] 19 tests from OpenCL/Operator (9336 ms total)
[----------] 1 test from Interpreter/InterpOnly
[ RUN ] Interpreter/InterpOnly.SparseLengthsSum/0
[ OK ] Interpreter/InterpOnly.SparseLengthsSum/0 (3 ms)
[----------] 1 test from Interpreter/InterpOnly (4 ms total)
[----------] Global test environment tear-down
[==========] 80 tests from 4 test cases ran. (9981 ms total)
[ PASSED ] 78 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] OpenCL/Operator.Gather/0, where GetParam() = 4-byte object <01-00 00-00>
[ FAILED ] OpenCL/Operator.ScatterAssign/0, where GetParam() = 4-byte object <01-00 00-00>
2 FAILED TESTS
请按任意键继续. . .
from glow.
build\projects\glow\tests\Release>BackendCorrectnessTest.exe
[==========] Running 25 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 25 tests from OpenCL/BackendCorrectnessTest
[ RUN ] OpenCL/BackendCorrectnessTest.batchedAddTest/0
[ OK ] OpenCL/BackendCorrectnessTest.batchedAddTest/0 (2562 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.batchedReduceAddTest/0
[ OK ] OpenCL/BackendCorrectnessTest.batchedReduceAddTest/0 (424 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.convTest/0
[ OK ] OpenCL/BackendCorrectnessTest.convTest/0 (510 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.convGradTest/0
llvm\projects\glow\tests\unittests\backendcorrectnesstest.cpp(165): error: Value of: out1.isEqual(out2)
Actual: false
Expected: true
[ FAILED ] OpenCL/BackendCorrectnessTest.convGradTest/0, where GetParam() = 4-byte object <01-00 00-00> (652 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.gatherTest/0
llvm\projects\glow\tests\unittests\backendcorrectnesstest.cpp(188): error: Value of: out1.isEqual(out2)
Actual: false
Expected: true
[ FAILED ] OpenCL/BackendCorrectnessTest.gatherTest/0, where GetParam() = 4-byte object <01-00 00-00> (386 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.matMulTest/0
[ OK ] OpenCL/BackendCorrectnessTest.matMulTest/0 (388 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.maxTest/0
[ OK ] OpenCL/BackendCorrectnessTest.maxTest/0 (392 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.minTest/0
[ OK ] OpenCL/BackendCorrectnessTest.minTest/0 (391 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.poolAvgTest/0
[ OK ] OpenCL/BackendCorrectnessTest.poolAvgTest/0 (391 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.poolMaxTest/0
[ OK ] OpenCL/BackendCorrectnessTest.poolMaxTest/0 (449 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.poolMaxGradTest/0
llvm\projects\glow\lib\backends\opencl\opencl.cpp:1192: failed assertion `err == CL_SUCCESS && "Unable to copy from the device"'
build\projects\glow\tests\Release>backendTest.exe
[==========] Running 4 tests from 3 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from Interpreter
[ RUN ] Interpreter.NotImplementedSave
llvm\projects\glow\lib\backends\backends.cpp:68: Saving a bundle is not supported by the backend
[ OK ] Interpreter.NotImplementedSave (23 ms)
[ RUN ] Interpreter.profileQuantizationForANetwork
[ OK ] Interpreter.profileQuantizationForANetwork (1 ms)
[----------] 2 tests from Interpreter (28 ms total)
[----------] 1 test from Interpreter/BackendTest
[ RUN ] Interpreter/BackendTest.simpleInference/0
[ OK ] Interpreter/BackendTest.simpleInference/0 (68 ms)
[----------] 1 test from Interpreter/BackendTest (69 ms total)
[----------] 1 test from OpenCL/BackendTest
[ RUN ] OpenCL/BackendTest.simpleInference/0
print1: %input = WeightVar float<1 x 32 x 32 x 3> mutable
shape: ( 1 32 32 3 )
[ Zero tensor ]
print1: %input = WeightVar float<1 x 32 x 32 x 3> mutable
shape: ( 1 32 32 3 )
[ Zero tensor ]
[ OK ] OpenCL/BackendTest.simpleInference/0 (1711 ms)
[----------] 1 test from OpenCL/BackendTest (1713 ms total)
[----------] Global test environment tear-down
[==========] 4 tests from 3 test cases ran. (1822 ms total)
[ PASSED ] 4 tests.
build\projects\glow\tests\Release>basicIRTest.exe
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from IR
[ RUN ] IR.uniqueTypes
[ OK ] IR.uniqueTypes (0 ms)
[ RUN ] IR.basicUseList
[ OK ] IR.basicUseList (0 ms)
[ RUN ] IR.allInstrs
[ OK ] IR.allInstrs (0 ms)
[ RUN ] IR.casting
[ OK ] IR.casting (0 ms)
[ RUN ] IR.predicateIR
[ OK ] IR.predicateIR (0 ms)
[----------] 5 tests from IR (14 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (18 ms total)
[ PASSED ] 5 tests.
build\projects\glow\tests\Release>gradCheckTest.exe
[==========] Running 14 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 14 tests from Network
[ RUN ] Network.gradientCheckFCConcatRELU
[ OK ] Network.gradientCheckFCConcatRELU (14 ms)
[ RUN ] Network.gradientCheckConv
[ OK ] Network.gradientCheckConv (220 ms)
[ RUN ] Network.gradientCheckDepthwiseConv
[ OK ] Network.gradientCheckDepthwiseConv (339 ms)
[ RUN ] Network.gradientCheckGroupConv
[ OK ] Network.gradientCheckGroupConv (584 ms)
[ RUN ] Network.gradientCheckAvgPool
[ OK ] Network.gradientCheckAvgPool (9 ms)
[ RUN ] Network.gradientCheckBatchNorm
[ OK ] Network.gradientCheckBatchNorm (25 ms)
[ RUN ] Network.gradientCheckArithmeticDiv
[ OK ] Network.gradientCheckArithmeticDiv (1 ms)
[ RUN ] Network.gradientCheckArithmetic
[ OK ] Network.gradientCheckArithmetic (2 ms)
[ RUN ] Network.gradientCheckFCConcatTanh
[ OK ] Network.gradientCheckFCConcatTanh (8 ms)
[ RUN ] Network.gradientCheckFC
[ OK ] Network.gradientCheckFC (5 ms)
[ RUN ] Network.gradientCheckSigmoid
[ OK ] Network.gradientCheckSigmoid (1 ms)
[ RUN ] Network.gradientCheckRelu
[ OK ] Network.gradientCheckRelu (1 ms)
[ RUN ] Network.gradientCheckTranspose
[ OK ] Network.gradientCheckTranspose (61 ms)
[ RUN ] Network.gradientCheckCrossEntropyLoss
[ OK ] Network.gradientCheckCrossEntropyLoss (0 ms)
[----------] 14 tests from Network (1301 ms total)
[----------] Global test environment tear-down
[==========] 14 tests from 1 test case ran. (1306 ms total)
[ PASSED ] 14 tests.
build\projects\glow\tests\Release>graphGradTest.exe
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from GraphAutoGrad
[ RUN ] GraphAutoGrad.autoGrad
[ OK ] GraphAutoGrad.autoGrad (10 ms)
[ RUN ] GraphAutoGrad.checkLRNGen
[ OK ] GraphAutoGrad.checkLRNGen (4 ms)
[ RUN ] GraphAutoGrad.cloneAndDiff
[ OK ] GraphAutoGrad.cloneAndDiff (0 ms)
[----------] 3 tests from GraphAutoGrad (21 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (26 ms total)
[ PASSED ] 3 tests.
build\projects\glow\tests\Release>graphOptzTest.exe
[==========] Running 34 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 33 tests from GraphOptz
[ RUN ] GraphOptz.DCE
[ OK ] GraphOptz.DCE (3 ms)
[ RUN ] GraphOptz.liveCodeNotEliminated
[ OK ] GraphOptz.liveCodeNotEliminated (5 ms)
[ RUN ] GraphOptz.optimizeBatchNormAfterConv
[ OK ] GraphOptz.optimizeBatchNormAfterConv (0 ms)
[ RUN ] GraphOptz.transposePrivateVariable
[ OK ] GraphOptz.transposePrivateVariable (0 ms)
[ RUN ] GraphOptz.BatchNormAfterConvNotOptimizeForTrain
[ OK ] GraphOptz.BatchNormAfterConvNotOptimizeForTrain (1 ms)
[ RUN ] GraphOptz.batchNormAfterConvNotOptimizeWhenMoreThanOneUseOfConv
[ OK ] GraphOptz.batchNormAfterConvNotOptimizeWhenMoreThanOneUseOfConv (0 ms)
[ RUN ] GraphOptz.sinkTransposeBelowOptimizeBatchNorm
[ OK ] GraphOptz.sinkTransposeBelowOptimizeBatchNorm (1 ms)
[ RUN ] GraphOptz.sinkTransposeBelowRELU
[ OK ] GraphOptz.sinkTransposeBelowRELU (0 ms)
[ RUN ] GraphOptz.sinkTransposeBelowSigmoid
[ OK ] GraphOptz.sinkTransposeBelowSigmoid (0 ms)
[ RUN ] GraphOptz.sinkTransposeBelowTanh
[ OK ] GraphOptz.sinkTransposeBelowTanh (0 ms)
[ RUN ] GraphOptz.cancelTwoTransposes
[ OK ] GraphOptz.cancelTwoTransposes (0 ms)
[ RUN ] GraphOptz.dontCancelTwoTransposesIfNotMatching
[ OK ] GraphOptz.dontCancelTwoTransposesIfNotMatching (0 ms)
[ RUN ] GraphOptz.sinkTransposeBelowArithmeticNodes
[ OK ] GraphOptz.sinkTransposeBelowArithmeticNodes (0 ms)
[ RUN ] GraphOptz.sinkReluBelowConcatNodes
[ OK ] GraphOptz.sinkReluBelowConcatNodes (0 ms)
[ RUN ] GraphOptz.sinkTransposeBelowConcatNodes
[ OK ] GraphOptz.sinkTransposeBelowConcatNodes (0 ms)
[ RUN ] GraphOptz.poolBelowReluSwapped
[ OK ] GraphOptz.poolBelowReluSwapped (0 ms)
[ RUN ] GraphOptz.poolBelowReluNotSwappedIfModeNotMax
[ OK ] GraphOptz.poolBelowReluNotSwappedIfModeNotMax (0 ms)
[ RUN ] GraphOptz.poolBelowReluNotSwappedIfNotSingleUse
[ OK ] GraphOptz.poolBelowReluNotSwappedIfNotSingleUse (0 ms)
[ RUN ] GraphOptz.mergeConcatNodes
[ OK ] GraphOptz.mergeConcatNodes (0 ms)
[ RUN ] GraphOptz.CSE
[ OK ] GraphOptz.CSE (0 ms)
[ RUN ] GraphOptz.SliceOfSplatNode
[ OK ] GraphOptz.SliceOfSplatNode (1 ms)
[ RUN ] GraphOptz.ZeroArithmetic
[ OK ] GraphOptz.ZeroArithmetic (0 ms)
[ RUN ] GraphOptz.ReshapeNoop
[ OK ] GraphOptz.ReshapeNoop (0 ms)
[ RUN ] GraphOptz.ReshapeAfterSplat
[ OK ] GraphOptz.ReshapeAfterSplat (0 ms)
[ RUN ] GraphOptz.DCEPublicVars
[ OK ] GraphOptz.DCEPublicVars (19 ms)
[ RUN ] GraphOptz.quantizeToRescale
[ OK ] GraphOptz.quantizeToRescale (0 ms)
[ RUN ] GraphOptz.MaxOfQuantizedSplat
[ OK ] GraphOptz.MaxOfQuantizedSplat (0 ms)
[ RUN ] GraphOptz.FuseRescaleIntoArithmetic
[ OK ] GraphOptz.FuseRescaleIntoArithmetic (0 ms)
[ RUN ] GraphOptz.sinkRescaledQuantizedNode
[ OK ] GraphOptz.sinkRescaledQuantizedNode (0 ms)
[ RUN ] GraphOptz.mergeRescaleWithArithmeticNode
[ OK ] GraphOptz.mergeRescaleWithArithmeticNode (0 ms)
[ RUN ] GraphOptz.mergeMatMulNodes
[ OK ] GraphOptz.mergeMatMulNodes (0 ms)
[ RUN ] GraphOptz.mergeBANodes
[ OK ] GraphOptz.mergeBANodes (0 ms)
[ RUN ] GraphOptz.concatElim
[ OK ] GraphOptz.concatElim (0 ms)
[----------] 33 tests from GraphOptz (129 ms total)
[----------] 1 test from GraphOptzTest
[ RUN ] GraphOptzTest.SliceOfSplatNodeChain
[ OK ] GraphOptzTest.SliceOfSplatNodeChain (0 ms)
[----------] 1 test from GraphOptzTest (4 ms total)
[----------] Global test environment tear-down
[==========] 34 tests from 2 test cases ran. (142 ms total)
[ PASSED ] 34 tests.
build\projects\glow\tests\Release>graphTest.exe
[==========] Running 14 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 14 tests from Graph
[ RUN ] Graph.testVariableErasure
[ OK ] Graph.testVariableErasure (0 ms)
[ RUN ] Graph.simpleTestConv
Graph structure F:
Convolution
name : Conv1
Input : float<4 x 320 x 200 x 3>
Filter : float<16 x 3 x 3 x 3>
Bias : float<16>
Kernel : 3
Stride : 2
Pads : [3, 3, 3, 3]
Group : 1
users : 1
Result : float<4 x 162 x 102 x 16>
Relu
name : Relu
Input : float<4 x 162 x 102 x 16>
users : 1
Result : float<4 x 162 x 102 x 16>
SoftMax
name : SoftMax
Input : float<4 x 162 x 102 x 16>
Selected : index<4 x 1>
users : 1
Result : float<4 x 162 x 102 x 16>
Save
name : Save
Input : float<4 x 162 x 102 x 16>
Output : float<4 x 162 x 102 x 16>
users : 0
Writing dotty graph for Function to: dotty_graph_dump_012D4510.dot
function F
declare {
%input = WeightVar float<4 x 320 x 200 x 3> mutable // size: 3072000 // Users: @in 1
%select = WeightVar index<4 x 1> mutable // size: 16
%filter = WeightVar float<16 x 3 x 3 x 3> mutable // size: 1728 // Users: @in 1
%bias = WeightVar float<16> mutable // size: 64 // Users: @in 1
%Save = WeightVar float<4 x 162 x 102 x 16> mutable // size: 4230144 // Users: @out 8
; size = 7303952 bytes
}
code {
0 %Conv1_res = allocactivation { Ty: float<4 x 162 x 102 x 16>} // size: 4230144 // Users: @out 9, @in 5, @out 1
1 %Conv1 = convolution @out %Conv1_res, @in %input, @in %filter, @in %bias { Kernel: 3, Stride: 2, Pads: [3, 3, 3, 3], Group: 1}
2 %zero_res = allocactivation { Ty: float<4 x 162 x 102 x 16>} // size: 4230144 // Users: @out 10, @in 5, @out 3
3 %zero = splat @out %zero_res { Value: 0.000000e+00}
4 %relu1_res = allocactivation { Ty: float<4 x 162 x 102 x 16>} // size: 4230144 // Users: @out 11, @in 7, @out 5
5 %relu1 = elementmax @out %relu1_res, @in %Conv1_res, @in %zero_res
6 %SoftMax_res = allocactivation { Ty: float<4 x 162 x 102 x 16>} // size: 4230144 // Users: @out 12, @in 8, @out 7
7 %SoftMax = softmax @out %SoftMax_res, @in %relu1_res
8 %Save1 = copy @out %Save, @in %SoftMax_res
9 %dealloc = deallocactivation @out %Conv1_res // size: 4230144
10 %dealloc1 = deallocactivation @out %zero_res // size: 4230144
11 %dealloc2 = deallocactivation @out %relu1_res // size: 4230144
12 %dealloc3 = deallocactivation @out %SoftMax_res // size: 4230144
}
[ OK ] Graph.simpleTestConv (10 ms)
[ RUN ] Graph.simpleTestFC
Graph structure F:
FullyConnected
name : FC1
Input : float<10 x 2>
Weights : float<2 x 6>
Bias : float<6>
users : 1
Result : float<10 x 6>
Relu
name : RELU1
Input : float<10 x 6>
users : 1
Result : float<10 x 6>
FullyConnected
name : FC2
Input : float<10 x 6>
Weights : float<6 x 1>
Bias : float<1>
users : 1
Result : float<10 x 1>
Relu
name : RELU2
Input : float<10 x 1>
users : 1
Result : float<10 x 1>
Regression
name : Regression
Input : float<10 x 1>
Expected : float<10 x 1>
users : 1
Result : float<10 x 1>
Save
name : Save
Input : float<10 x 1>
Output : float<10 x 1>
users : 0
Writing dotty graph for Function to: dotty_graph_dump_012D45B0.dot
function F
declare {
%A = WeightVar float<10 x 2> mutable // size: 80 // Users: @in 5
%weights = WeightVar float<2 x 6> mutable // size: 48 // Users: @in 5
%bias = WeightVar float<6> mutable // size: 24 // Users: @in 7
%weights1 = WeightVar float<6 x 1> mutable // size: 24 // Users: @in 11
%bias1 = WeightVar float<1> mutable // size: 4 // Users: @in 13
%Save = WeightVar float<10 x 1> mutable // size: 40 // Users: @out 16
; size = 220 bytes
}
code {
0 %zero1_res = allocactivation { Ty: float<10 x 1>} // size: 40 // Users: @out 17, @in 15, @out 1
1 %zero1 = splat @out %zero1_res { Value: 0.000000e+00}
2 %zero_res = allocactivation { Ty: float<10 x 6>} // size: 240 // Users: @out 18, @in 9, @out 3
3 %zero = splat @out %zero_res { Value: 0.000000e+00}
4 %fc_dot_res = allocactivation { Ty: float<10 x 6>} // size: 240 // Users: @out 19, @in 7, @out 5
5 %fc_dot = matmul @out %fc_dot_res, @in %A, @in %weights
6 %fc_add_bias_res = allocactivation { Ty: float<10 x 6>} // size: 240 // Users: @out 20, @in 9, @out 7
7 %fc_add_bias = batchedadd @out %fc_add_bias_res, @in %fc_dot_res, @in %bias
8 %relu2_res = allocactivation { Ty: float<10 x 6>} // size: 240 // Users: @out 21, @in 11, @out 9
9 %relu2 = elementmax @out %relu2_res, @in %fc_add_bias_res, @in %zero_res
10 %fc_dot1_res = allocactivation { Ty: float<10 x 1>} // size: 40 // Users: @out 22, @in 13, @out 11
11 %fc_dot1 = matmul @out %fc_dot1_res, @in %relu2_res, @in %weights1
12 %fc_add_bias1_res = allocactivation { Ty: float<10 x 1>} // size: 40 // Users: @out 23, @in 15, @out 13
13 %fc_add_bias1 = batchedadd @out %fc_add_bias1_res, @in %fc_dot1_res, @in %bias1
14 %relu11_res = allocactivation { Ty: float<10 x 1>} // size: 40 // Users: @out 24, @in 16, @out 15
15 %relu11 = elementmax @out %relu11_res, @in %fc_add_bias1_res, @in %zero1_res
16 %Save1 = copy @out %Save, @in %relu11_res
17 %dealloc = deallocactivation @out %zero1_res // size: 40
18 %dealloc1 = deallocactivation @out %zero_res // size: 240
19 %dealloc2 = deallocactivation @out %fc_dot_res // size: 240
20 %dealloc3 = deallocactivation @out %fc_add_bias_res // size: 240
21 %dealloc4 = deallocactivation @out %relu2_res // size: 240
22 %dealloc5 = deallocactivation @out %fc_dot1_res // size: 40
23 %dealloc6 = deallocactivation @out %fc_add_bias1_res // size: 40
24 %dealloc7 = deallocactivation @out %relu11_res // size: 40
}
[ OK ] Graph.simpleTestFC (7 ms)
[ RUN ] Graph.QuantizationProfileNodes
[ OK ] Graph.QuantizationProfileNodes (0 ms)
[ RUN ] Graph.simpleQuant
[ OK ] Graph.simpleQuant (4 ms)
[ RUN ] Graph.quantizeDequantizeNodes
[ OK ] Graph.quantizeDequantizeNodes (0 ms)
[ RUN ] Graph.quantizeGather
[ OK ] Graph.quantizeGather (0 ms)
[ RUN ] Graph.cloneTest
[ OK ] Graph.cloneTest (6 ms)
[ RUN ] Graph.moduleTest
[ OK ] Graph.moduleTest (6 ms)
[ RUN ] Graph.functionDependenciesTest
[ OK ] Graph.functionDependenciesTest (12 ms)
[ RUN ] Graph.cloneTest2
[ OK ] Graph.cloneTest2 (16 ms)
[ RUN ] Graph.NodeValue
[ OK ] Graph.NodeValue (0 ms)
[ RUN ] Graph.nodesWithPredicates
[ OK ] Graph.nodesWithPredicates (30 ms)
[ RUN ] Graph.disableUnrollingGroupConv
[ OK ] Graph.disableUnrollingGroupConv (2056 ms)
[----------] 14 tests from Graph (2177 ms total)
[----------] Global test environment tear-down
[==========] 14 tests from 1 test case ran. (2182 ms total)
[ PASSED ] 14 tests.
Writing dotty graph for Module to: dotty_graph_dump_01F8E3C0.dot
Writing dotty graph for Module to: dotty_graph_dump_01F8E3A0.dot
build\projects\glow\tests\Release>IROptTest.exe
[==========] Running 9 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 9 tests from Optimizer
[ RUN ] Optimizer.dseBasic
[ OK ] Optimizer.dseBasic (0 ms)
[ RUN ] Optimizer.dseDoNotRemloveLastWriteIntoWeightVar
[ OK ] Optimizer.dseDoNotRemloveLastWriteIntoWeightVar (0 ms)
[ RUN ] Optimizer.shareBuffers
[ OK ] Optimizer.shareBuffers (0 ms)
[ RUN ] Optimizer.copyPropagation
[ OK ] Optimizer.copyPropagation (0 ms)
[ RUN ] Optimizer.copyPropagationSimple
[ OK ] Optimizer.copyPropagationSimple (0 ms)
[ RUN ] Optimizer.copyPropagationTranspose
[ OK ] Optimizer.copyPropagationTranspose (0 ms)
[ RUN ] Optimizer.insertOptimizer
[ OK ] Optimizer.insertOptimizer (0 ms)
[ RUN ] Optimizer.twoInsertsWithBuffersOptimizer
[ OK ] Optimizer.twoInsertsWithBuffersOptimizer (0 ms)
[ RUN ] Optimizer.twoExtractsWithBuffersOptimizer
[ OK ] Optimizer.twoExtractsWithBuffersOptimizer (0 ms)
[----------] 9 tests from Optimizer (26 ms total)
[----------] Global test environment tear-down
[==========] 9 tests from 1 test case ran. (32 ms total)
[ PASSED ] 9 tests.
build\projects\glow\tests\Release>memoryAllocatorTest.exe
[==========] Running 5 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 5 tests from MemAlloc
[ RUN ] MemAlloc.simple
[ OK ] MemAlloc.simple (0 ms)
[ RUN ] MemAlloc.holes
[ OK ] MemAlloc.holes (0 ms)
[ RUN ] MemAlloc.dealloc
[ OK ] MemAlloc.dealloc (0 ms)
[ RUN ] MemAlloc.dealloc2
[ OK ] MemAlloc.dealloc2 (0 ms)
[ RUN ] MemAlloc.allocateToTheMax
[ OK ] MemAlloc.allocateToTheMax (0 ms)
[----------] 5 tests from MemAlloc (15 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 1 test case ran. (23 ms total)
[ PASSED ] 5 tests.
build\projects\glow\tests\Release>MLTest.exe
[==========] Running 32 tests from 3 test cases.
[----------] Global test environment set-up.
[----------] 15 tests from Interpreter/MLTest
[ RUN ] Interpreter/MLTest.trainASimpleNetwork/0
[ OK ] Interpreter/MLTest.trainASimpleNetwork/0 (19 ms)
[ RUN ] Interpreter/MLTest.simpleRegression/0
[ OK ] Interpreter/MLTest.simpleRegression/0 (8 ms)
[ RUN ] Interpreter/MLTest.learnXor/0
[ OK ] Interpreter/MLTest.learnXor/0 (93 ms)
[ RUN ] Interpreter/MLTest.learnLog/0
[ OK ] Interpreter/MLTest.learnLog/0 (23 ms)
[ RUN ] Interpreter/MLTest.circle/0
[ OK ] Interpreter/MLTest.circle/0 (244 ms)
[ RUN ] Interpreter/MLTest.learnSingleValueConcat/0
[ OK ] Interpreter/MLTest.learnSingleValueConcat/0 (29 ms)
[ RUN ] Interpreter/MLTest.trainASimpleRNN/0
[ OK ] Interpreter/MLTest.trainASimpleRNN/0 (66 ms)
[ RUN ] Interpreter/MLTest.trainGRU/0
[ OK ] Interpreter/MLTest.trainGRU/0 (153 ms)
[ RUN ] Interpreter/MLTest.trainLSTM/0
[ OK ] Interpreter/MLTest.trainLSTM/0 (182 ms)
[ RUN ] Interpreter/MLTest.learnSqrt2/0
[ OK ] Interpreter/MLTest.learnSqrt2/0 (1 ms)
[ RUN ] Interpreter/MLTest.trainSimpleLinearRegression/0
[ OK ] Interpreter/MLTest.trainSimpleLinearRegression/0 (8 ms)
[ RUN ] Interpreter/MLTest.classifyPlayerSport/0
[ OK ] Interpreter/MLTest.classifyPlayerSport/0 (168 ms)
[ RUN ] Interpreter/MLTest.learnSinus/0
[ OK ] Interpreter/MLTest.learnSinus/0 (264 ms)
[ RUN ] Interpreter/MLTest.nonLinearClassifier/0
[ OK ] Interpreter/MLTest.nonLinearClassifier/0 (186 ms)
[ RUN ] Interpreter/MLTest.matrixRotationRecognition/0
[ OK ] Interpreter/MLTest.matrixRotationRecognition/0 (152 ms)
[----------] 15 tests from Interpreter/MLTest (1628 ms total)
[----------] 15 tests from OpenCL/MLTest
[ RUN ] OpenCL/MLTest.trainASimpleNetwork/0
[ OK ] OpenCL/MLTest.trainASimpleNetwork/0 (2620 ms)
[ RUN ] OpenCL/MLTest.simpleRegression/0
[ OK ] OpenCL/MLTest.simpleRegression/0 (1746 ms)
[ RUN ] OpenCL/MLTest.learnXor/0
[ OK ] OpenCL/MLTest.learnXor/0 (4884 ms)
[ RUN ] OpenCL/MLTest.learnLog/0
[ OK ] OpenCL/MLTest.learnLog/0 (2190 ms)
[ RUN ] OpenCL/MLTest.circle/0
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
+++++++------=++++++
++++++--------++++++
++++++--------=+++++
++++++---------+++++
++++++=-------=+++++
+++++++-------++++++
+++++++=-----+++++++
+++++++++===++++++++
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
++++++++++++++++++++
====================
====================
====================
====================
=======llvm\projects\glow\tests\unittests\mltest.cpp(380): error: Value of: B > (A + 0.2)
Actual: false
Expected: true
llvm\projects\glow\tests\unittests\mltest.cpp(391): error: Value of: A > (B + 0.2)
Actual: false
Expected: true
[ FAILED ] OpenCL/MLTest.circle/0, where GetParam() = 4-byte object <01-00 00-00> (10761 ms)
[ RUN ] OpenCL/MLTest.learnSingleValueConcat/0
[ OK ] OpenCL/MLTest.learnSingleValueConcat/0 (3224 ms)
[ RUN ] OpenCL/MLTest.trainASimpleRNN/0
[ OK ] OpenCL/MLTest.trainASimpleRNN/0 (301 ms)
[ RUN ] OpenCL/MLTest.trainGRU/0
[ OK ] OpenCL/MLTest.trainGRU/0 (418 ms)
[ RUN ] OpenCL/MLTest.trainLSTM/0
[ OK ] OpenCL/MLTest.trainLSTM/0 (410 ms)
[ RUN ] OpenCL/MLTest.learnSqrt2/0
[ OK ] OpenCL/MLTest.learnSqrt2/0 (405 ms)
[ RUN ] OpenCL/MLTest.trainSimpleLinearRegression/0
[ OK ] OpenCL/MLTest.trainSimpleLinearRegression/0 (518 ms)
[ RUN ] OpenCL/MLTest.classifyPlayerSport/0
llvm\projects\glow\tests\unittests\mltest.cpp(723): error: The difference between SMH.at({i, sport}) and 1.0 is 1, which exceeds 0.1, where
SMH.at({i, sport}) evaluates to 0,
1.0 evaluates to 1, and
0.1 evaluates to 0.1.
llvm\projects\glow\tests\unittests\mltest.cpp(723): error: The difference between SMH.at({i, sport}) and 1.0 is 1, which exceeds 0.1, where
SMH.at({i, sport}) evaluates to 0,
1.0 evaluates to 1, and
0.1 evaluates to 0.1.
llvm\projects\glow\tests\unittests\mltest.cpp(723): error: The difference between SMH.at({i, sport}) and 1.0 is 1, which exceeds 0.1, where
SMH.at({i, sport}) evaluates to 0,
1.0 evaluates to 1, and
0.1 evaluates to 0.1.
[ FAILED ] OpenCL/MLTest.classifyPlayerSport/0, where GetParam() = 4-byte object <01-00 00-00> (3098 ms)
[ RUN ] OpenCL/MLTest.learnSinus/0
[ OK ] OpenCL/MLTest.learnSinus/0 (5225 ms)
[ RUN ] OpenCL/MLTest.nonLinearClassifier/0
llvm\projects\glow\tests\unittests\mltest.cpp(854): error: The difference between RH.at({0, std::get<2>(tests[i])}) and 1.0 is 0.431227, which exceeds 0.2, where
RH.at({0, std::get<2>(tests[i])}) evaluates to 0.568773,
1.0 evaluates to 1, and
0.2 evaluates to 0.2.
llvm\projects\glow\tests\unittests\mltest.cpp(854): error: The difference between RH.at({0, std::get<2>(tests[i])}) and 1.0 is 0.568728, which exceeds 0.2, where
RH.at({0, std::get<2>(tests[i])}) evaluates to 0.431272,
1.0 evaluates to 1, and
0.2 evaluates to 0.2.
llvm\projects\glow\tests\unittests\mltest.cpp(854): error: The difference between RH.at({0, std::get<2>(tests[i])}) and 1.0 is 0.568766, which exceeds 0.2, where
RH.at({0, std::get<2>(tests[i])}) evaluates to 0.431234,
1.0 evaluates to 1, and
0.2 evaluates to 0.2.
llvm\projects\glow\tests\unittests\mltest.cpp(854): error: The difference between RH.at({0, std::get<2>(tests[i])}) and 1.0 is 0.43126, which exceeds 0.2, where
RH.at({0, std::get<2>(tests[i])}) evaluates to 0.56874,
1.0 evaluates to 1, and
0.2 evaluates to 0.2.
[ FAILED ] OpenCL/MLTest.nonLinearClassifier/0, where GetParam() = 4-byte object <01-00 00-00> (2680 ms)
[ RUN ] OpenCL/MLTest.matrixRotationRecognition/0
llvm\projects\glow\tests\unittests\mltest.cpp(1209): error: Expected: (errors) <= (1), actual: 9 vs 1
[ FAILED ] OpenCL/MLTest.matrixRotationRecognition/0, where GetParam() = 4-byte object <01-00 00-00> (1592 ms)
[----------] 15 tests from OpenCL/MLTest (40110 ms total)
[----------] 2 tests from Interpreter/InterpreterAndCPU
[ RUN ] Interpreter/InterpreterAndCPU.convNetForImageRecognition/0
[ OK ] Interpreter/InterpreterAndCPU.convNetForImageRecognition/0 (146 ms)
[ RUN ] Interpreter/InterpreterAndCPU.testFindPixelRegression/0
[ OK ] Interpreter/InterpreterAndCPU.testFindPixelRegression/0 (119 ms)
[----------] 2 tests from Interpreter/InterpreterAndCPU (269 ms total)
[----------] Global test environment tear-down
[==========] 32 tests from 3 test cases ran. (42017 ms total)
[ PASSED ] 28 tests.
[ FAILED ] 4 tests, listed below:
[ FAILED ] OpenCL/MLTest.circle/0, where GetParam() = 4-byte object <01-00 00-00>
[ FAILED ] OpenCL/MLTest.classifyPlayerSport/0, where GetParam() = 4-byte object <01-00 00-00>
[ FAILED ] OpenCL/MLTest.nonLinearClassifier/0, where GetParam() = 4-byte object <01-00 00-00>
[ FAILED ] OpenCL/MLTest.matrixRotationRecognition/0, where GetParam() = 4-byte object <01-00 00-00>
4 FAILED TESTS
=============
====================
====================
====================
====================
====================
====================
====================
====================
====================
====================
====================
====================
====================
====================
====================
build\projects\glow\tests\Release>OCLTest.exe
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from OpenCLCorrectnessTest
[ RUN ] OpenCLCorrectnessTest.reluTest
[ OK ] OpenCLCorrectnessTest.reluTest (1006 ms)
[ RUN ] OpenCLCorrectnessTest.convOps
[ OK ] OpenCLCorrectnessTest.convOps (720 ms)
[ RUN ] OpenCLCorrectnessTest.basicFCNet
[ OK ] OpenCLCorrectnessTest.basicFCNet (461 ms)
[ RUN ] OpenCLCorrectnessTest.inferMixedNet
[ OK ] OpenCLCorrectnessTest.inferMixedNet (453 ms)
[ RUN ] OpenCLCorrectnessTest.softmaxGradTest
llvm\projects\glow\tests\unittests\ocltest.cpp(105): error: Value of: out1.isEqual(out2)
Actual: false
Expected: true
[ FAILED ] OpenCLCorrectnessTest.softmaxGradTest (689 ms)
[ RUN ] OpenCLCorrectnessTest.convGradTest
llvm\projects\glow\tests\unittests\ocltest.cpp(137): error: Value of: out1.isEqual(out2)
Actual: false
Expected: true
[ FAILED ] OpenCLCorrectnessTest.convGradTest (667 ms)
[ RUN ] OpenCLCorrectnessTest.gatherTest
llvm\projects\glow\tests\unittests\ocltest.cpp(160): error: Value of: out1.isEqual(out2)
Actual: false
Expected: true
[ FAILED ] OpenCLCorrectnessTest.gatherTest (426 ms)
[ RUN ] OpenCLCorrectnessTest.tanhConcatTest
[ OK ] OpenCLCorrectnessTest.tanhConcatTest (405 ms)
[----------] 8 tests from OpenCLCorrectnessTest (4853 ms total)
[----------] Global test environment tear-down
[==========] 8 tests from 1 test case ran. (4859 ms total)
[ PASSED ] 5 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] OpenCLCorrectnessTest.softmaxGradTest
[ FAILED ] OpenCLCorrectnessTest.convGradTest
[ FAILED ] OpenCLCorrectnessTest.gatherTest
3 FAILED TESTS
build\projects\glow\tests\Release>operatorTest.exe
[==========] Running 80 tests from 4 test cases.
[----------] Global test environment set-up.
[----------] 41 tests from Interpreter/InterpAndCPU
[ RUN ] Interpreter/InterpAndCPU.pow/0
[ OK ] Interpreter/InterpAndCPU.pow/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.log/0
[ OK ] Interpreter/InterpAndCPU.log/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.CmpEQ/0
[ OK ] Interpreter/InterpAndCPU.CmpEQ/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceAddWithAxis/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceAddWithAxis/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceAddQuantized/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceAddQuantized/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceAddQuantizedWithAxis/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceAddQuantizedWithAxis/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceMeanWithAxis/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceMeanWithAxis/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceMeanQuantized/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceMeanQuantized/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.batchedReduceMeanQuantizedWithAxis/0
[ OK ] Interpreter/InterpAndCPU.batchedReduceMeanQuantizedWithAxis/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.broadcastSimple/0
[ OK ] Interpreter/InterpAndCPU.broadcastSimple/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.broadcast/0
[ OK ] Interpreter/InterpAndCPU.broadcast/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.TopK/0
[ OK ] Interpreter/InterpAndCPU.TopK/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.TopK1/0
[ OK ] Interpreter/InterpAndCPU.TopK1/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedTopK/0
[ OK ] Interpreter/InterpAndCPU.QuantizedTopK/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.ScatterAssignQuantized/0
[ OK ] Interpreter/InterpAndCPU.ScatterAssignQuantized/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.IntMatMul/0
[ OK ] Interpreter/InterpAndCPU.IntMatMul/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.IntBatchedArith/0
[ OK ] Interpreter/InterpAndCPU.IntBatchedArith/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.IntConvolutionDepth10/0
[ OK ] Interpreter/InterpAndCPU.IntConvolutionDepth10/0 (2 ms)
[ RUN ] Interpreter/InterpAndCPU.IntConvolutionDepth8/0
[ OK ] Interpreter/InterpAndCPU.IntConvolutionDepth8/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.IntConcat/0
[ OK ] Interpreter/InterpAndCPU.IntConcat/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.IntFC/0
[ OK ] Interpreter/InterpAndCPU.IntFC/0 (4 ms)
[ RUN ] Interpreter/InterpAndCPU.EntropyLossTest/0
[ OK ] Interpreter/InterpAndCPU.EntropyLossTest/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedArithmeticRescaled/0
[ OK ] Interpreter/InterpAndCPU.QuantizedArithmeticRescaled/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedArithmeticUnrescaled/0
[ OK ] Interpreter/InterpAndCPU.QuantizedArithmeticUnrescaled/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedCmpLTEAndSelect/0
[ OK ] Interpreter/InterpAndCPU.QuantizedCmpLTEAndSelect/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.concatVectors/0
[ OK ] Interpreter/InterpAndCPU.concatVectors/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.concatVectorsRepeated/0
[ OK ] Interpreter/InterpAndCPU.concatVectorsRepeated/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.sliceVectors/0
[ OK ] Interpreter/InterpAndCPU.sliceVectors/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.sliceConcatVectors/0
[ OK ] Interpreter/InterpAndCPU.sliceConcatVectors/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.Tile/0
[ OK ] Interpreter/InterpAndCPU.Tile/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.QuantizedTile/0
[ OK ] Interpreter/InterpAndCPU.QuantizedTile/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.ChannelShuffle/0
[ OK ] Interpreter/InterpAndCPU.ChannelShuffle/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.Split/0
[ OK ] Interpreter/InterpAndCPU.Split/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.IntRelu/0
[ OK ] Interpreter/InterpAndCPU.IntRelu/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.IntSplat/0
[ OK ] Interpreter/InterpAndCPU.IntSplat/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.GroupConvolution/0
[ OK ] Interpreter/InterpAndCPU.GroupConvolution/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.NonSquarePaddingConvolution/0
[ OK ] Interpreter/InterpAndCPU.NonSquarePaddingConvolution/0 (1 ms)
[ RUN ] Interpreter/InterpAndCPU.Int8Tanh/0
[ OK ] Interpreter/InterpAndCPU.Int8Tanh/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.Int8Sigmoid/0
[ OK ] Interpreter/InterpAndCPU.Int8Sigmoid/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.IntLookupTable/0
[ OK ] Interpreter/InterpAndCPU.IntLookupTable/0 (0 ms)
[ RUN ] Interpreter/InterpAndCPU.testQuantizedBatchAdd/0
[ OK ] Interpreter/InterpAndCPU.testQuantizedBatchAdd/0 (1 ms)
[----------] 41 tests from Interpreter/InterpAndCPU (140 ms total)
[----------] 19 tests from Interpreter/Operator
[ RUN ] Interpreter/Operator.matmul/0
[ OK ] Interpreter/Operator.matmul/0 (0 ms)
[ RUN ] Interpreter/Operator.Load/0
[ OK ] Interpreter/Operator.Load/0 (0 ms)
[ RUN ] Interpreter/Operator.batchedReduceAdd/0
[ OK ] Interpreter/Operator.batchedReduceAdd/0 (0 ms)
[ RUN ] Interpreter/Operator.batchedReduceMean/0
[ OK ] Interpreter/Operator.batchedReduceMean/0 (0 ms)
[ RUN ] Interpreter/Operator.batchedBatchedAdd/0
[ OK ] Interpreter/Operator.batchedBatchedAdd/0 (0 ms)
[ RUN ] Interpreter/Operator.weightedSum/0
[ OK ] Interpreter/Operator.weightedSum/0 (0 ms)
[ RUN ] Interpreter/Operator.minElem/0
[ OK ] Interpreter/Operator.minElem/0 (0 ms)
[ RUN ] Interpreter/Operator.matMul/0
[ OK ] Interpreter/Operator.matMul/0 (0 ms)
[ RUN ] Interpreter/Operator.Gather/0
[ OK ] Interpreter/Operator.Gather/0 (0 ms)
[ RUN ] Interpreter/Operator.ScatterAssign/0
[ OK ] Interpreter/Operator.ScatterAssign/0 (1 ms)
[ RUN ] Interpreter/Operator.QuantizeAndDequantize/0
[ OK ] Interpreter/Operator.QuantizeAndDequantize/0 (0 ms)
[ RUN ] Interpreter/Operator.RescaleNode/0
[ OK ] Interpreter/Operator.RescaleNode/0 (0 ms)
[ RUN ] Interpreter/Operator.TestQuantizedRescaleSequence/0
[ OK ] Interpreter/Operator.TestQuantizedRescaleSequence/0 (0 ms)
[ RUN ] Interpreter/Operator.FCGradientCheck/0
[ OK ] Interpreter/Operator.FCGradientCheck/0 (1 ms)
[ RUN ] Interpreter/Operator.simpleCmpSelectPredication/0
[ OK ] Interpreter/Operator.simpleCmpSelectPredication/0 (2 ms)
[ RUN ] Interpreter/Operator.simplePredication/0
[ OK ] Interpreter/Operator.simplePredication/0 (8 ms)
[ RUN ] Interpreter/Operator.Squeeze/0
[ OK ] Interpreter/Operator.Squeeze/0 (0 ms)
[ RUN ] Interpreter/Operator.ExpandDims/0
[ OK ] Interpreter/Operator.ExpandDims/0 (0 ms)
[ RUN ] Interpreter/Operator.testBatchAdd/0
[ OK ] Interpreter/Operator.testBatchAdd/0 (1 ms)
[----------] 19 tests from Interpreter/Operator (79 ms total)
[----------] 19 tests from OpenCL/Operator
[ RUN ] OpenCL/Operator.matmul/0
[ OK ] OpenCL/Operator.matmul/0 (1033 ms)
[ RUN ] OpenCL/Operator.Load/0
[ OK ] OpenCL/Operator.Load/0 (430 ms)
[ RUN ] OpenCL/Operator.batchedReduceAdd/0
[ OK ] OpenCL/Operator.batchedReduceAdd/0 (442 ms)
[ RUN ] OpenCL/Operator.batchedReduceMean/0
[ OK ] OpenCL/Operator.batchedReduceMean/0 (430 ms)
[ RUN ] OpenCL/Operator.batchedBatchedAdd/0
[ OK ] OpenCL/Operator.batchedBatchedAdd/0 (415 ms)
[ RUN ] OpenCL/Operator.weightedSum/0
[ OK ] OpenCL/Operator.weightedSum/0 (411 ms)
[ RUN ] OpenCL/Operator.minElem/0
[ OK ] OpenCL/Operator.minElem/0 (404 ms)
[ RUN ] OpenCL/Operator.matMul/0
[ OK ] OpenCL/Operator.matMul/0 (430 ms)
[ RUN ] OpenCL/Operator.Gather/0
llvm\projects\glow\tests\unittests\operatortest.cpp(791): error: Expected: H.at({0, 1, 0})
Which is: 1
To be equal to: 2.3
llvm\projects\glow\tests\unittests\operatortest.cpp(792): error: Expected: H.at({0, 1, 1})
Which is: 1.2
To be equal to: 3.4
Which is: 3.4000001
llvm\projects\glow\tests\unittests\operatortest.cpp(793): error: Expected: H.at({0, 2, 0})
Which is: 2.3
To be equal to: 1.0
Which is: 1
llvm\projects\glow\tests\unittests\operatortest.cpp(794): error: Expected: H.at({0, 2, 1})
Which is: 3.4000001
To be equal to: 1.2
llvm\projects\glow\tests\unittests\operatortest.cpp(795): error: Expected: H.at({0, 3, 0})
Which is: 4.5
To be equal to: 2.3
llvm\projects\glow\tests\unittests\operatortest.cpp(796): error: Expected: H.at({0, 3, 1})
Which is: 5.6999998
To be equal to: 3.4
Which is: 3.4000001
llvm\projects\glow\tests\unittests\operatortest.cpp(798): error: Expected: H.at({1, 0, 0})
Which is: 1
To be equal to: 2.3
llvm\projects\glow\tests\unittests\operatortest.cpp(799): error: Expected: H.at({1, 0, 1})
Which is: 1.2
To be equal to: 3.4
Which is: 3.4000001
llvm\projects\glow\tests\unittests\operatortest.cpp(800): error: Expected: H.at({1, 1, 0})
Which is: 1
To be equal to: 4.5
llvm\projects\glow\tests\unittests\operatortest.cpp(801): error: Expected: H.at({1, 1, 1})
Which is: 1.2
To be equal to: 5.7
Which is: 5.6999998
llvm\projects\glow\tests\unittests\operatortest.cpp(802): error: Expected: H.at({1, 2, 0})
Which is: 1
To be equal to: 4.5
llvm\projects\glow\tests\unittests\operatortest.cpp(803): error: Expected: H.at({1, 2, 1})
Which is: 1.2
To be equal to: 5.7
Which is: 5.6999998
[ FAILED ] OpenCL/Operator.Gather/0, where GetParam() = 4-byte object <01-00 00-00> (436 ms)
[ RUN ] OpenCL/Operator.ScatterAssign/0
llvm\projects\glow\tests\unittests\operatortest.cpp(827): error: Expected: H.at({0, 0})
Which is: -7
To be equal to: 1.0
Which is: 1
llvm\projects\glow\tests\unittests\operatortest.cpp(828): error: Expected: H.at({0, 1})
Which is: -8
To be equal to: 2.0
Which is: 2
llvm\projects\glow\tests\unittests\operatortest.cpp(833): error: Expected: H.at({3, 0})
Which is: 7
To be equal to: -7.0
Which is: -7
llvm\projects\glow\tests\unittests\operatortest.cpp(834): error: Expected: H.at({3, 1})
Which is: 8
To be equal to: -8.0
Which is: -8
[ FAILED ] OpenCL/Operator.ScatterAssign/0, where GetParam() = 4-byte object <01-00 00-00> (412 ms)
[ RUN ] OpenCL/Operator.QuantizeAndDequantize/0
[ OK ] OpenCL/Operator.QuantizeAndDequantize/0 (411 ms)
[ RUN ] OpenCL/Operator.RescaleNode/0
[ OK ] OpenCL/Operator.RescaleNode/0 (423 ms)
[ RUN ] OpenCL/Operator.TestQuantizedRescaleSequence/0
[ OK ] OpenCL/Operator.TestQuantizedRescaleSequence/0 (493 ms)
[ RUN ] OpenCL/Operator.FCGradientCheck/0
[ OK ] OpenCL/Operator.FCGradientCheck/0 (438 ms)
[ RUN ] OpenCL/Operator.simpleCmpSelectPredication/0
[ OK ] OpenCL/Operator.simpleCmpSelectPredication/0 (441 ms)
[ RUN ] OpenCL/Operator.simplePredication/0
[ OK ] OpenCL/Operator.simplePredication/0 (448 ms)
[ RUN ] OpenCL/Operator.Squeeze/0
[ OK ] OpenCL/Operator.Squeeze/0 (654 ms)
[ RUN ] OpenCL/Operator.ExpandDims/0
[ OK ] OpenCL/Operator.ExpandDims/0 (465 ms)
[ RUN ] OpenCL/Operator.testBatchAdd/0
[ OK ] OpenCL/Operator.testBatchAdd/0 (451 ms)
[----------] 19 tests from OpenCL/Operator (9112 ms total)
[----------] 1 test from Interpreter/InterpOnly
[ RUN ] Interpreter/InterpOnly.SparseLengthsSum/0
[ OK ] Interpreter/InterpOnly.SparseLengthsSum/0 (0 ms)
[----------] 1 test from Interpreter/InterpOnly (3 ms total)
[----------] Global test environment tear-down
[==========] 80 tests from 4 test cases ran. (9348 ms total)
[ PASSED ] 78 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] OpenCL/Operator.Gather/0, where GetParam() = 4-byte object <01-00 00-00>
[ FAILED ] OpenCL/Operator.ScatterAssign/0, where GetParam() = 4-byte object <01-00 00-00>
2 FAILED TESTS
build\projects\glow\tests\Release>quantizationTest.exe
[==========] Running 8 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 6 tests from Quantization
[ RUN ] Quantization.Serialize
[ OK ] Quantization.Serialize (17 ms)
[ RUN ] Quantization.SerializeEmpty
[ OK ] Quantization.SerializeEmpty (7 ms)
[ RUN ] Quantization.quantScaleOffset
[ OK ] Quantization.quantScaleOffset (1 ms)
[ RUN ] Quantization.quantizeGraph
[ OK ] Quantization.quantizeGraph (1 ms)
[ RUN ] Quantization.rescaleSameType
[ OK ] Quantization.rescaleSameType (0 ms)
[ RUN ] Quantization.optimizeRescaleQuantize
[ OK ] Quantization.optimizeRescaleQuantize (0 ms)
[----------] 6 tests from Quantization (47 ms total)
[----------] 2 tests from Interpreter/Quantization
[ RUN ] Interpreter/Quantization.end2end/0
[ OK ] Interpreter/Quantization.end2end/0 (30 ms)
[ RUN ] Interpreter/Quantization.end2endGRU/0
[ OK ] Interpreter/Quantization.end2endGRU/0 (10 ms)
[----------] 2 tests from Interpreter/Quantization (45 ms total)
[----------] Global test environment tear-down
[==========] 8 tests from 2 test cases ran. (104 ms total)
[ PASSED ] 8 tests.
build\projects\glow\tests\Release>tensorsTest.exe
[==========] Running 23 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 23 tests from Tensor
[ RUN ] Tensor.init
[ OK ] Tensor.init (1 ms)
[ RUN ] Tensor.randomizeInt
[ OK ] Tensor.randomizeInt (0 ms)
[ RUN ] Tensor.clone
[ OK ] Tensor.clone (0 ms)
[ RUN ] Tensor.minMaxArg
[ OK ] Tensor.minMaxArg (0 ms)
[ RUN ] Tensor.isZero
[ OK ] Tensor.isZero (0 ms)
[ RUN ] Tensor.inBounds
[ OK ] Tensor.inBounds (0 ms)
[ RUN ] Tensor.equalHandles
[ OK ] Tensor.equalHandles (0 ms)
[ RUN ] Tensor.assignment
[ OK ] Tensor.assignment (19 ms)
[ RUN ] Tensor.concatTensors1D
[ OK ] Tensor.concatTensors1D (0 ms)
[ RUN ] Tensor.concatTensors2D
shape: ( 4 )
max: 1515.200 min: 1.200
[1.200, 12.100, 51.000, 1515.200, ]
shape: ( 4 )
max: 1.400 min: 1.100
[1.100, 1.200, 1.300, 1.400, ]
==========
~~~~~~~~~~
-----
.........
.,,,,==========
,::::~~~~~~~~~~
:oooo-----
oOOOO
OOOOO .........
.,,,,==========
,::::~~~~~~~~~~
:oooo-----
oOOOO
OOOOO .........
.,,,,,,,,,
,:::::::::
:oo[ OK ] Tensor.concatTensors2D (1 ms)
[ RUN ] Tensor.meanAndVariance
[ OK ] Tensor.meanAndVariance (0 ms)
[ RUN ] Tensor.getDimForPtr
[ OK ] Tensor.getDimForPtr (0 ms)
[ RUN ] Tensor.copySlice
[ OK ] Tensor.copySlice (0 ms)
[ RUN ] Tensor.reset
[ OK ] Tensor.reset (0 ms)
[ RUN ] Tensor.transpose
[ OK ] Tensor.transpose (0 ms)
[ RUN ] Tensor.transpose2
[ OK ] Tensor.transpose2 (0 ms)
[ RUN ] Tensor.nonOwnedTensor
[ OK ] Tensor.nonOwnedTensor (0 ms)
[ RUN ] Tensor.modifyOffsetIntoTensor2D
[ OK ] Tensor.modifyOffsetIntoTensor2D (0 ms)
[ RUN ] Tensor.modifyOffsetIntoTensor3D
[ OK ] Tensor.modifyOffsetIntoTensor3D (0 ms)
[ RUN ] Tensor.equalsOffsetIntoTensor
[ OK ] Tensor.equalsOffsetIntoTensor (0 ms)
[ RUN ] Tensor.externallyManagedPayload
[ OK ] Tensor.externallyManagedPayload (0 ms)
[ RUN ] Tensor.integerTensors
[ OK ] Tensor.integerTensors (0 ms)
[ RUN ] Tensor.insertWithCountAndAxis
[ OK ] Tensor.insertWithCountAndAxis (0 ms)
[----------] 23 tests from Tensor (102 ms total)
[----------] Global test environment tear-down
[==========] 23 tests from 1 test case ran. (107 ms total)
[ PASSED ] 23 tests.
ooooooo
oOOOOOOOOO
OOOOOOOOOO
shape: ( 4 )
max: 1515.200 min: 1.200
[1.200, 12.100, 51.000, 1515.200, ]
shape: ( 2 2 )
max: 51.000 min: 1.200
[[1.200, 40.400],
[51.000, 30.300],
]
shape: ( 4 )
max: 51.000 min: 1.200
[1.200, 40.400, 51.000, 30.300, ]
shape: ( 2 2 )
max: 1515.200 min: 1.200
[[1.200, 12.100],
[51.000, 1515.200],
]
build\projects\glow\tests\Release>UtilsTest.exe
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from Utils
[ RUN ] Utils.PRNGBasics
[ OK ] Utils.PRNGBasics (0 ms)
[ RUN ] Utils.deterministicPRNG
[ OK ] Utils.deterministicPRNG (0 ms)
[----------] 2 tests from Utils (1 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (3 ms total)
[ PASSED ] 2 tests.
Full test result.
Using NVIDIA CUDA.
from glow.
PRs related to [msvc] support:
- Fixes CMakeLists.txt and FindOpenCL.cmake under Win32.
- [opencl][cmake] Generate opencl kernel inc header file from original opencl kernel source directly.
- [msvc] Include IR for fixes MSVC compiling error.
- Just for trigger the CI, do not close & review
@lygstate I'm closing the PRs above as those are abandoned for a while.
Feel free to reopen once you are back to work on it.
from glow.
New test result
Test project E:/CI-Cor-Ready/ai/face-io/deps/glow/glow/build/Debug-x64
Start 1: partitionTest
1/22 Test #1: partitionTest ....................... Passed 0.10 sec
Start 2: tensorsTest
2/22 Test #2: tensorsTest ......................... Passed 0.64 sec
Start 3: gradCheckTest
3/22 Test #3: gradCheckTest ....................... Passed 47.94 sec
Start 4: IROptTest
4/22 Test #4: IROptTest ........................... Passed 0.09 sec
Start 5: basicIRTest
5/22 Test #5: basicIRTest ......................... Passed 0.08 sec
Start 6: backendTest
6/22 Test #6: backendTest ......................... Passed 39.16 sec
Start 7: MLTest
7/22 Test #7: MLTest .............................. Passed 454.07 sec
Start 8: operatorTest
8/22 Test #8: operatorTest ........................ Passed 465.86 sec
Start 9: graphTest
9/22 Test #9: graphTest ........................... Passed 1.77 sec
Start 10: graphGradTest
10/22 Test #10: graphGradTest ....................... Passed 0.71 sec
Start 11: graphOptzTest
11/22 Test #11: graphOptzTest ....................... Passed 0.21 sec
Start 12: graphSchedulerTest
12/22 Test #12: graphSchedulerTest .................. Passed 0.07 sec
Start 13: quantizationTest
13/22 Test #13: quantizationTest .................... Passed 48.32 sec
Start 14: float16Test
14/22 Test #14: float16Test ......................... Passed 0.05 sec
Start 15: typeAToTypeBFunctionConverterTest
15/22 Test #15: typeAToTypeBFunctionConverterTest ... Passed 0.43 sec
Start 16: UtilsTest
16/22 Test #16: UtilsTest ........................... Passed 0.06 sec
Start 17: OCLTest
17/22 Test #17: OCLTest ............................. Passed 19.84 sec
Start 18: BackendCorrectnessTest
18/22 Test #18: BackendCorrectnessTest ..............***Exception: SegFault374.93 sec
[==========] Running 35 tests from 4 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from HyphenTest
[ RUN ] HyphenTest.dehyphenate
[ OK ] HyphenTest.dehyphenate (1 ms)
[ RUN ] HyphenTest.mapLetter
[ OK ] HyphenTest.mapLetter (0 ms)
[ RUN ] HyphenTest.network
[ OK ] HyphenTest.network (30727 ms)
[----------] 3 tests from HyphenTest (30728 ms total)
[----------] 9 tests from CPU/BackendCorrectnessTest
[ RUN ] CPU/BackendCorrectnessTest.convTest/0
[ OK ] CPU/BackendCorrectnessTest.convTest/0 (5247 ms)
[ RUN ] CPU/BackendCorrectnessTest.convGradTest/0
[ OK ] CPU/BackendCorrectnessTest.convGradTest/0 (22243 ms)
[ RUN ] CPU/BackendCorrectnessTest.MaxPoolGradTest/0
[ OK ] CPU/BackendCorrectnessTest.MaxPoolGradTest/0 (36621 ms)
[ RUN ] CPU/BackendCorrectnessTest.smallConv/0
[ OK ] CPU/BackendCorrectnessTest.smallConv/0 (3602 ms)
[ RUN ] CPU/BackendCorrectnessTest.softmaxGradTest/0
[ OK ] CPU/BackendCorrectnessTest.softmaxGradTest/0 (23617 ms)
[ RUN ] CPU/BackendCorrectnessTest.convOps/0
[ OK ] CPU/BackendCorrectnessTest.convOps/0 (25442 ms)
[ RUN ] CPU/BackendCorrectnessTest.basicFCNet/0
[ OK ] CPU/BackendCorrectnessTest.basicFCNet/0 (8615 ms)
[ RUN ] CPU/BackendCorrectnessTest.basicFCNetQuantized/0
[ OK ] CPU/BackendCorrectnessTest.basicFCNetQuantized/0 (9964 ms)
[ RUN ] CPU/BackendCorrectnessTest.tinyResnet/0
[ OK ] CPU/BackendCorrectnessTest.tinyResnet/0 (15357 ms)
[----------] 9 tests from CPU/BackendCorrectnessTest (150708 ms total)
[----------] 9 tests from OpenCL/BackendCorrectnessTest
[ RUN ] OpenCL/BackendCorrectnessTest.convTest/0
[ OK ] OpenCL/BackendCorrectnessTest.convTest/0 (8480 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.convGradTest/0
[ OK ] OpenCL/BackendCorrectnessTest.convGradTest/0 (7250 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.MaxPoolGradTest/0
[ OK ] OpenCL/BackendCorrectnessTest.MaxPoolGradTest/0 (6827 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.smallConv/0
[ OK ] OpenCL/BackendCorrectnessTest.smallConv/0 (3162 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.softmaxGradTest/0
[ OK ] OpenCL/BackendCorrectnessTest.softmaxGradTest/0 (6139 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.convOps/0
[ OK ] OpenCL/BackendCorrectnessTest.convOps/0 (9919 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.basicFCNet/0
[ OK ] OpenCL/BackendCorrectnessTest.basicFCNet/0 (2965 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.basicFCNetQuantized/0
[ OK ] OpenCL/BackendCorrectnessTest.basicFCNetQuantized/0 (3349 ms)
[ RUN ] OpenCL/BackendCorrectnessTest.tinyResnet/0
[ OK ] OpenCL/BackendCorrectnessTest.tinyResnet/0 (5707 ms)
[----------] 9 tests from OpenCL/BackendCorrectnessTest (53798 ms total)
[----------] 14 tests from CPU/CPUOnly
[ RUN ] CPU/CPUOnly.extract3Dtest/0
[ OK ] CPU/CPUOnly.extract3Dtest/0 (5397 ms)
[ RUN ] CPU/CPUOnly.quantizedConvTest/0
[ OK ] CPU/CPUOnly.quantizedConvTest/0 (4506 ms)
[ RUN ] CPU/CPUOnly.localResponseNormalizationTest/0
[ OK ] CPU/CPUOnly.localResponseNormalizationTest/0 (2011 ms)
[ RUN ] CPU/CPUOnly.localResponseNormalizationGradTest/0
[ OK ] CPU/CPUOnly.localResponseNormalizationGradTest/0 (40538 ms)
[ RUN ] CPU/CPUOnly.dataParallelStackingTest/0
[ OK ] CPU/CPUOnly.dataParallelStackingTest/0 (814 ms)
[ RUN ] CPU/CPUOnly.AvgPoolGradTest/0
[ OK ] CPU/CPUOnly.AvgPoolGradTest/0 (29183 ms)
[ RUN ] CPU/CPUOnly.intLookupTable/0
[ OK ] CPU/CPUOnly.intLookupTable/0 (793 ms)
[ RUN ] CPU/CPUOnly.groupConvTest/0
[ OK ] CPU/CPUOnly.groupConvTest/0 (2540 ms)
[ RUN ] CPU/CPUOnly.nonSquarePaddingConvTest/0
[ OK ] CPU/CPUOnly.nonSquarePaddingConvTest/0 (3711 ms)
[ RUN ] CPU/CPUOnly.nonSquareKernelConvTest/0
[ OK ] CPU/CPUOnly.nonSquareKernelConvTest/0 (3758 ms)
[ RUN ] CPU/CPUOnly.nonSquareStrideConvTest/0
[ OK ] CPU/CPUOnly.nonSquareStrideConvTest/0 (3834 ms)
[ RUN ] CPU/CPUOnly.convDKKC8Test/0
[ OK ] CPU/CPUOnly.convDKKC8Test/0 (4577 ms)
[ RUN ] CPU/CPUOnly.complexNet1/0
Start 19: LLVMIRGenTest
19/22 Test #19: LLVMIRGenTest ....................... Passed 0.37 sec
Start 20: memoryAllocatorTest
20/22 Test #20: memoryAllocatorTest ................. Passed 0.13 sec
Start 21: caffe2ImporterTest
21/22 Test #21: caffe2ImporterTest .................. Passed 0.80 sec
Start 22: onnxImporterTest
22/22 Test #22: onnxImporterTest .................... Passed 0.73 sec
95% tests passed, 1 tests failed out of 22
Total Test time (real) = 1456.47 sec
The following tests FAILED:
Errors while running CTest
18 - BackendCorrectnessTest (SEGFAULT)
from glow.
one more thing to take care: #1998
from glow.
@ayermolo you seem to work with Glow on Windows. Are there any pending issues here?
from glow.
@rdzhabarov Looks like there is a build error with latest in ExecutorTest, but other then that it works.
Although full disclosure I don't know what the story is with OCL backend. I don't use it or build it.
from glow.
@ayermolo thank you for checking.
this is never ending issue :D
Looks like there is a build error with latest in ExecutorTest,
Can you post it here?
from glow.
tests\unittests\ExecutorTest.cpp(684): error C3493: 'numConcurrentRuns' cannot be implicitly captured because no default capture mode has been specified
Looks like gcc/clang is more permissive in lambda captures of constexpr then VS.
from glow.
Related Issues (20)
- Request release - This pull request was **exported** from Phabricator. Differential Revision: [D39456245](https://www.internalfb.com/diff/D39456245) HOT 1
- model-compiler missing HOT 1
- BatchedReduceAdd and BatchedReduceProd multi-axis support
- Where Glow invokes llvm ? HOT 2
- build_Debug error HOT 1
- Multiple tensorflow-lite models in one application
- Glow cmsis support on aarch64
- Typed pointers support will be dropped in LLVM 17 HOT 1
- Compile error when building glow HOT 6
- Error occurred during the compilation of Glow
- FAILED: bin/image-classifier during building glow
- Unable to access glow model HOT 3
- Adding a library for a new backend, CMSIS. HOT 1
- Adding Support for ELU Activation functions
- Evaluate Profile-Guided Optimization (PGO)
- How to build glow for Buildroot based Linux?
- Sunsetting Glow Active Development HOT 1
- Error building on Mac Ventura
- Cannot open connection when downloading pb file
- Is the Glow still under development and maintenance? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glow.