summaryrefslogtreecommitdiff
path: root/src/caffe/common.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-06-26Merge pull request #488 from longjon/wall-werrorEvan Shelhamer1-3/+4
Build with -Wall -Werror
2014-06-25Merge pull request #478 from kloudkl/cpu_only_testsEvan Shelhamer1-1/+6
CPU only tests
2014-06-25move CUDA 6.0 check into switch statement itselfJonathan L Long1-0/+2
This allows -Wswitch to be turned on so that the compiler can check exhaustiveness.
2014-06-25initialize in declared orderJonathan L Long1-3/+2
2014-06-20Rename curand_availability_logged according to the Google style guideKai Li1-3/+3
2014-06-20Suppress redundant log messages of unavailable curandKai Li1-1/+6
2014-06-20Initialize the RNG generator with an orthogonally newed GeneratorKai Li1-1/+1
2014-06-16in Caffe::SetDevice, call cudaSetDevice before GetJonathan L Long1-1/+3
Otherwise initialization will be performed on whichever device is default.
2014-05-13add cublas status in cuda 6 to fix warningEvan Shelhamer1-0/+2
...and #define for older CUDAs to not break the build.
2014-04-28rollback 8368818, does not buildJeff Donahue1-2/+0
2014-04-28Handling CUBLAS_STATUS_NOT_SUPPORTED to suppress warningSergey Karayev1-0/+2
2014-04-18remove now unused set_generator and related codeJeff Donahue1-14/+0
2014-04-18pass caffe rng ref into variate_generator constructor instead of havingJeff Donahue1-3/+3
caffe rng adopt its state
2014-04-18remove unnecessary return from void set_generatorJeff Donahue1-1/+1
2014-04-08make rng_ a private member of GeneratorJeff Donahue1-1/+3
2014-04-08call caffe_set_rng at the end of each vRng function to maintain stateJeff Donahue1-20/+20
2014-04-02Merge pull request #278 from kloudkl/log_error_string_in_check_macroJeff Donahue1-0/+54
Log error strings in the error/status checking macros
2014-04-01seed boost rng with cluster_seedgen by defaultJeff Donahue1-1/+3
2014-04-01Fix cpplint errorsKai Li1-1/+1
2014-04-01Add curandGetErrorString and use it to redefine CURAND_CHECKKai Li1-0/+32
2014-04-01Add caffe::cublasGetErrorString and redefine CUBLAS_CHECK with itKai Li1-0/+22
2014-03-22Set copyright to BVLC and contributors.Evan Shelhamer1-2/+1
The exact details of the contributions are recorded by versioning.
2014-03-22Hide boost rng behind facade for osx compatibilityEvan Shelhamer1-1/+37
Split boost random number generation from the common Caffe singleton and add a helper function for rng. This resolves a build conflict in OSX between boost rng and nvcc compilation of cuda code. Refer to #165 for a full discussion. Thanks to @satol for suggesting a random number generation facade rather than a total split of cpp and cu code, which is far more involved.
2014-03-21lintEvan Shelhamer1-2/+1
2014-03-21clean up residual mkl comments and codeEvan Shelhamer1-13/+1
The FIXMEs about RNG were addressed by caffe_nextafter for uniform distributions and the normal distribution concern is surely a typo in the boost documentation, since the normal pdf is correctly stated elsewhere in the documentation.
2014-03-21compile caffe without MKL (dependency replaced by boost::random, Eigen3)Rodrigo Benenson1-9/+14
- examples, test and pycaffe compile without problem (matcaffe not tested) - tests show some errors (on cpu gradient tests), to be investigated - random generators need to be double checked - mkl commented code needs to be removed
2014-02-26long -> int64_t; all linter errors fixed. woohoo!Jeff Donahue1-2/+2
2014-02-26fix most linter errorsJeff Donahue1-2/+3
2014-02-03Added device_query.cpp to examples/ to get basic information about the ↵sguada1-0/+1
current GPU device or other device_id
2013-11-16removed the StillFresh function that was used to make sure training does not ↵Yangqing Jia1-16/+0
happen with an earlier version of code.
2013-11-07distributed solver still having bugs. Pausing for now...Yangqing Jia1-3/+13
2013-10-31solver restructuring: now all prototxt are specified in the solver protocol ↵Yangqing Jia1-0/+18
buffer
2013-10-30common.cpp: rand seed fixYangqing Jia1-2/+2
2013-10-28caffe common cpp: fixed an embarassing bugYangqing Jia1-4/+7
2013-10-24pushing missing checkoutYangqing Jia1-2/+2
2013-10-24common.cpp rand seed: do time(NULL) so we can have different initializationsYangqing Jia1-2/+2
2013-10-24common: added DeviceQuery() functionYangqing Jia1-0/+30
2013-10-17freshnessYangqing Jia1-0/+18
2013-10-10cpplintYangqing Jia1-2/+6
2013-10-07common.hpp/cpp update, and lenet using random subcropYangqing Jia1-48/+24
2013-09-27cpplintYangqing Jia1-1/+1
2013-09-23copyright messageYangqing Jia1-0/+2
2013-09-22naming. I might regret it someday.Yangqing Jia1-0/+76