move CUDA 6.0 check into switch statement itself
authorJonathan L Long <jonlong@cs.berkeley.edu>
Tue, 10 Jun 2014 21:45:36 +0000 (14:45 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Wed, 25 Jun 2014 22:11:41 +0000 (15:11 -0700)
commitc41c15a138de23e0bba80c31ad7813f556be6be4
treea1776c4b829075d1f37099dc3f78fb46b77869ed
parente84dfb26bbda927e591cf9b15a752d44004c7c8f
move CUDA 6.0 check into switch statement itself

This allows -Wswitch to be turned on so that the compiler can check
exhaustiveness.
include/caffe/common.hpp
src/caffe/common.cpp