Don't modify index in im2col kernel loop
Don't modify data pointers in im2col loop
add option for lmdb
add tests for lmdb of datalayer (copied from test_data_layer.cpp)
fixed cpplint error
lint
unify test_data_layer tests
unify data layer tests: was copied four times for all combinations of
cpu/gpu and leveldb/lmdb; now just one copy of each test body
add lmdb support for convert_imageset
add lmdb support for compute_image_mean
fix string compare error
Add comment for how to set the CUDA path when cuda tools are installed by the package manager.
Merge pull request #431 from mavenlin/lmdb

Add support for LMDB (LevelDB alternative)
in Caffe::SetDevice, call cudaSetDevice before Get

Otherwise initialization will be performed on whichever device is
default.
Merge pull request #507 from longjon/set-device-early

Fix Caffe::SetDevice to avoid initializing on default device
Merge pull request #504 from leelurch/Config-Example-Ubuntu14.04

Add comment for how to set the CUDA path when cuda tools are installed b...
Set device_id at the begining of Solver.Init() to avoid using memory in the default GPU
Now Loss layers would return the loss in the top blob if requested
Modified test_net to check loss layer with top
Merge pull request #521 from sguada/set_device_id_at_init

Set device_id at the beginning of Solver.Init()