OpenCL library to train deep convolutional neural networks