hughperkins / clnn

OpenCL backend for Torch nn neural networks library
BSD 2-Clause "Simplified" License
126 stars 16 forks source link

fixed runtime linkage bug; removed few globals #10

Closed szagoruyko closed 8 years ago

szagoruyko commented 8 years ago

had the same issue with cunn, getClTorchState was not found:

__________________|___________________  ==> SpatialAveragePooling_backward_batch/opt/rocks/distro/install/bin/luajit: symbol lookup error: /opt/rocks/distro/install/lib/lua/5.1/libclnn.so: undefined symbol: getCltorchState

also removed some globals on the way

hughperkins commented 8 years ago

cool :-)