facebookarchive / caffe2

Caffe2 is a lightweight, modular, and scalable deep learning framework.
https://caffe2.ai
Apache License 2.0
8.42k stars 1.94k forks source link

CUDA + cudNN + Windows build failing #1885

Open filipendo125 opened 6 years ago

filipendo125 commented 6 years ago

Hi, I am trying to build Caffe2 with GPU capabilities on a Windows Machine with GTX970, and I am able to build a CPU version with Python, but not able to build using CUDA and cudNN on top of that. I followed the whole installation tutorial, and everything seems to be correct.

I have specified CUDA path and copied cudNN, and it is recognized as shown in summary, but the build still fails.

System information

CMake summary output

 caffe2_gpu.lib(caffe2_gpu_generated_softplus_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFun
ction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_softmax_ops.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFun
ction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_tanh_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFunctio
n [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_swish_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFuncti
on [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_summarize_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFu
nction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sparse_to_dense_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRegi
sterFunction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_weighted_sample_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRegi
sterFunction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_utility_ops.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFun
ction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_top_k.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFunction
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_tile_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFunctio
n [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_fp32_momentum_sgd_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRe
gisterFunction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_fp16_momentum_sgd_op.cu.obj) : error LNK2001: unresolved external symbol __cudaRe
gisterFunction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_adam_op_gpu.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFun
ction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_adagrad_op_gpu.cu.obj) : error LNK2001: unresolved external symbol __cudaRegister
Function [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_math_gpu.cu.obj) : error LNK2001: unresolved external symbol __cudaRegisterFuncti
on [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_yellowfin_op_gpu.cu.obj) : error LNK2001: unresolved external symbol __cudaRegist
erFunction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_rmsprop_op_gpu.cu.obj) : error LNK2001: unresolved external symbol __cudaRegister
Function [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_momentum_sgd_op_gpu.cu.obj) : error LNK2001: unresolved external symbol __cudaReg
isterFunction [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(pool_op_rtc_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desk
top\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(elemenntwise_rtc_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini
\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(common_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop\c
affe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(blob_serialization_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fki
ni\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(conv_transpose_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fk
ini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(conv_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Deskto
p\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(file_store_handler_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\
fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(create_db_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Des
ktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(relu_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Deskto
p\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(recurrent_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\D
esktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(local_response_normalization_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(dropout_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Des
ktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(communicator_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\
Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(transpose_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\D
esktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(spatial_batch_norm_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\User
s\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(softmax_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Des
ktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(counter_ops_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desk
top\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(conv_transpose_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkin
i\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(conv_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop\
caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(concat_split_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\
Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(free_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop\
caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(filler_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Deskto
p\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(expand_squeeze_dims_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users
\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(do_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop\ca
ffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(lengths_tile_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\
Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(im2col_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Deskto
p\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(if_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop\ca
ffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(fully_connected_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fki
ni\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(negate_gradient_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fki
ni\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(matmul_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Deskto
p\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(locally_connected_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\f
kini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(load_save_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Des
ktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(scale_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(reshape_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Deskt
op\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(recurrent_network_blob_fetcher_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(prepend_dim_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\D
esktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(utility_ops_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desk
top\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(tensor_protos_db_input_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users
\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(stop_gradient_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\De
sktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(shape_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(iter_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop\
caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(queue_ops_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Deskto
p\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(zero_gradient_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini
\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(while_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_accumulate_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_abs_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_context_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(learning_rate_op_gpu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\fkini
\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_batch_matmul_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastEr
ror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_batch_gather_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastE
rror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_assert_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C
:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_accuracy_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_channel_shuffle_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGe
tLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_cast_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_boolean_unmask_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLas
tError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_boolean_mask_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastE
rror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_cross_entropy_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastE
rror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_cosine_embedding_criterion_op.cu.obj) : error LNK2001: unresolved external symbol
 cudaGetLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_cos_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_clip_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_elementwise_linear_op.cu.obj) : error LNK2001: unresolved external symbol cudaGet
LastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_dropout_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_distance_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_deform_conv_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErr
or [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_filler_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C
:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_exp_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_elu_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_elementwise_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErr
or [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_gru_unit_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastEr
ror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_glu_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_given_tensor_fill_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetL
astError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_find_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_leaky_relu_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_layer_norm_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_instance_norm_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastE
rror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_half_float_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErr
or [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_loss_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_logit_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:
\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_log_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_local_response_normalization_op.cu.obj) : error LNK2001: unresolved external symb
ol cudaGetLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_math_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:
\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_margin_ranking_criterion_op.cu.obj) : error LNK2001: unresolved external symbol c
udaGetLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_lstm_unit_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastE
rror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_lp_pool_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_negative_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_multi_class_accuracy_op.cu.obj) : error LNK2001: unresolved external symbol cudaG
etLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_mem_query_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_max_pool_with_index.cu.obj) : error LNK2001: unresolved external symbol cudaGetLa
stError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_pack_segments.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_order_switch_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastE
rror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_one_hot_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_normalize_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_pool_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_piecewise_linear_transform_op.cu.obj) : error LNK2001: unresolved external symbol
 cudaGetLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_perplexity_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_pad_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_reduction_front_back_ops.cu.obj) : error LNK2001: unresolved external symbol cuda
GetLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_recurrent_network_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cuda
GetLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_prelu_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:
\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_pool_op_cudnn.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_replace_nan_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErr
or [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_relu_op_fp16.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_relu_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_reduction_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErro
r [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_roi_align_gradient_op.cu.obj) : error LNK2001: unresolved external symbol cudaGet
LastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_rmac_regions_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastEr
ror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_reverse_packed_segs_op.cu.obj) : error LNK2001: unresolved external symbol cudaGe
tLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_resize_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C
:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_selu_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_segment_reduction_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cuda
GetLastError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_roi_pool_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_roi_align_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_slice_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:
\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sin_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sigmoid_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sequence_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_space_batch_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLas
tError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_softsign_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_softplus_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_softmax_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_tanh_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_swish_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:
\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_summarize_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sparse_to_dense_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLas
tError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_utility_ops.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_transpose_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_top_k.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\Us
ers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_tile_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_fp16_momentum_sgd_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetL
astError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_adam_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastError
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_adagrad_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErr
or [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_weighted_sample_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetLas
tError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_yellowfin_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastE
rror [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_rmsprop_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLastErr
or [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_momentum_sgd_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaGetLa
stError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_fp32_momentum_sgd_op.cu.obj) : error LNK2001: unresolved external symbol cudaGetL
astError [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(net_async_dag_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Des
ktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(file_store_handler_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\f
kini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(create_db_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desk
top\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(pool_op_rtc_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Deskt
op\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(elemenntwise_rtc_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\
Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(local_response_normalization_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(dropout_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desk
top\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(conv_transpose_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fki
ni\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(conv_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(spatial_batch_norm_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users
\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(softmax_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desk
top\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(relu_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(recurrent_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\De
sktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(conv_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop\c
affe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(concat_split_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\D
esktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(communicator_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\D
esktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(transpose_op_cudnn.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\De
sktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(expand_squeeze_dims_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\
fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(do_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop\caf
fe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(counter_ops_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Deskt
op\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(conv_transpose_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini
\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(if_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop\caf
fe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(fully_connected_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkin
i\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(free_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop\c
affe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(filler_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(locally_connected_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fk
ini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(load_save_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desk
top\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(lengths_tile_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\D
esktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(im2col_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(recurrent_network_blob_fetcher_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(prepend_dim_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\De
sktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(negate_gradient_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkin
i\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(matmul_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(stop_gradient_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Des
ktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(shape_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop\
caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(scale_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop\
caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(reshape_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Deskto
p\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(queue_ops_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop
\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(zero_gradient_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\
Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(while_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop\
caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(utility_ops_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Deskt
op\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_accumulate_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_abs_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Us
ers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(learning_rate_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\
Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(iter_op_gpu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Users\fkini\Desktop\c
affe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_batch_matmul_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQue
ry [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_batch_gather_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQu
ery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_assert_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:
\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_accuracy_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_channel_shuffle_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaSt
reamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_cast_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_boolean_unmask_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStream
Query [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_boolean_mask_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQu
ery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_cross_entropy_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQu
ery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_cosine_embedding_criterion_op.cu.obj) : error LNK2001: unresolved external symbol
 cudaStreamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_cos_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Us
ers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_clip_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_elementwise_linear_op.cu.obj) : error LNK2001: unresolved external symbol cudaStr
eamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_dropout_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C
:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_distance_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_deform_conv_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuer
y [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_filler_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:
\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_exp_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Us
ers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_elu_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Us
ers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_elementwise_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuer
y [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_gru_unit_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQue
ry [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_glu_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Us
ers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_given_tensor_fill_op.cu.obj) : error LNK2001: unresolved external symbol cudaStre
amQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_find_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_leaky_relu_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_layer_norm_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_instance_norm_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQu
ery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_half_float_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuer
y [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_loss_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_logit_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_log_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Us
ers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_local_response_normalization_op.cu.obj) : error LNK2001: unresolved external symb
ol cudaStreamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_math_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_margin_ranking_criterion_op.cu.obj) : error LNK2001: unresolved external symbol c
udaStreamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_lstm_unit_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQu
ery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_lp_pool_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C
:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_negative_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_multi_class_accuracy_op.cu.obj) : error LNK2001: unresolved external symbol cudaS
treamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_mem_query_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_max_pool_with_index.cu.obj) : error LNK2001: unresolved external symbol cudaStrea
mQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_pack_segments.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_order_switch_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQu
ery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_one_hot_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_normalize_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_pool_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_piecewise_linear_transform_op.cu.obj) : error LNK2001: unresolved external symbol
 cudaStreamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_perplexity_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_pad_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C
:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_reduction_front_back_ops.cu.obj) : error LNK2001: unresolved external symbol cuda
StreamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_recurrent_network_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cuda
StreamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_prelu_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_pool_op_cudnn.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_replace_nan_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuer
y [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_relu_op_fp16.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_relu_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_reduction_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
 [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_roi_align_gradient_op.cu.obj) : error LNK2001: unresolved external symbol cudaStr
eamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_rmac_regions_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQue
ry [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_reverse_packed_segs_op.cu.obj) : error LNK2001: unresolved external symbol cudaSt
reamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_resize_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:
\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_selu_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_segment_reduction_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cuda
StreamQuery [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_roi_pool_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_roi_align_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_slice_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sin_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\Us
ers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sigmoid_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C
:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sequence_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_space_batch_op_gpu.cu.obj) : error LNK2001: unresolved external symbol cudaStream
Query [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_softsign_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_softplus_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_softmax_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [
C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_tanh_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\U
sers\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_swish_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [C:\
Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_summarize_op.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery
[C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_sparse_to_dense_op.cu.obj) : error LNK2001: unresolved external symbol cudaStream
Query [C:\Users\fkini\Desktop\caffe2\build\caffe2\binaries\speed_benchmark.vcxproj]
  caffe2_gpu.lib(caffe2_gpu_generated_utility_ops.cu.obj) : error LNK2001: unresolved external symbol cudaStreamQuery [

Summary

-- General:
--   CMake version         : 3.10.2
--   CMake command         : C:/Program Files/CMake/bin/cmake.exe
--   Git version           : v0.8.1-1041-g416b504cd-dirty
--   System                : Windows
--   C++ compiler          : C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
--   C++ compiler version  : 19.0.24225.1
--   Protobuf compiler     : C:\Users\fkini\Desktop\caffe2\scripts\..\build_host_protoc\bin\protoc.exe
--   Protobuf include path : C:/Users/fkini/Desktop/caffe2/third_party/protobuf/src
--   Protobuf libraries    : libprotobuf
--   CXX flags             : /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MP /bigobj
--   Build type            : Release
--   Compile definitions   :
--
--   BUILD_BINARY          : ON
--   BUILD_DOCS            : OFF
--   BUILD_PYTHON          : ON
--     Python version      : 2.7.14
--     Python library      : C:/Python27/libs/python27.lib
--   BUILD_SHARED_LIBS     : OFF
--   BUILD_TEST            : OFF
--   USE_ATEN              : OFF
--   USE_ASAN              : OFF
--   USE_CUDA              : ON
--     CUDA version        : 9.0
--     CuDNN version       : 7.0.5
--   USE_EIGEN_FOR_BLAS    : 1
--   USE_FFMPEG            : OFF
--   USE_GFLAGS            : OFF
--   USE_GLOG              : OFF
--   USE_GLOO              : OFF
--   USE_LEVELDB           : OFF
--   USE_LITE_PROTO        : OFF
--   USE_LMDB              : OFF
--   USE_METAL             : OFF
--   USE_MKL               :
--   USE_MOBILE_OPENGL     : OFF
--   USE_MPI               : OFF
--   USE_NCCL              : OFF
--   USE_NERVANA_GPU       : OFF
--   USE_NNPACK            : OFF
--   USE_OBSERVERS         : ON
--   USE_OPENCV            : OFF
--   USE_OPENMP            : OFF
--   USE_PROF              : OFF
--   USE_REDIS             : OFF
--   USE_ROCKSDB           : OFF
--   USE_THREADS           : ON
--   USE_ZMQ               : OFF
CMake Warning at CMakeLists.txt:222 (message):
  Generated cmake files are only fully tested if one builds with system glog,
  gflags, and protobuf.

CMake Warning at CMakeLists.txt:260 (message):
  Generated cmake files are only available when building shared libs.

Moreover, it states in my output:

-- Could NOT find Protobuf (missing: Protobuf_DIR)
-- Use custom protobuf build.

but I have used build_host_protoc.bat

Added modifications to build_windows.bat

set USE_CUDA=ON
and
-DBUILD_PYTHON=ON^
pjh5 commented 6 years ago

That protobuf output is expected. The default cmake find_package call failed, so it looks for a custom protobuf build, which build_host_protoc should've set up.

I don't have an answer for the CUDA problem yet though, I'm actually working on this right now.

t-kuha commented 6 years ago

@filipendo125 The errors are due to compiler/linker not being able to find CUDA libraries (cudart.lib etc.). Check that the vc projects have entry for CUDA libraries.


And as a side note,

-- Could NOT find Protobuf (missing: Protobuf_DIR)
-- Use custom protobuf build.

is a warning/info rather than an error.

jimmyoic commented 6 years ago

Have you tried the solution of this? https://research.wmz.ninja/articles/2017/05/build-caffe2-on-windows-10-gpu.html I followed this about 1 month ago and it worked. However, I'm not really confident if it could still work now since Caffe2 is an active project which updates frequently.

In my experience, you can build the caffe2.lib and caffe2_gpu.lib in windows. Don't care about the failure of compiling binaries.