You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
Hello,
Why the GPU is used when I didn't invoke caffe::SetMode(caffe::GPU,0) in my program ? Although I complied it with options -DUSE_CUDA=ON -DUSE_CUDNN=ON, the value of mode_ is Caffe::CPU and it should work in CPU style (I get it from common.cpp). In my thought,even though I complied it with cuda and cudnn on, the mode is still Caffe::CPU if I didn't invoke the SetMode function and GPU should not be occupied (I check it with NVIDIA-SMI).
Activity
luoyetx commentedon Sep 20, 2017
Yes, It's a bug. Checkout branch
fix-create-layer. I haven't merge it yet. The bug is from cudnn layers, when you build with-DUSE_CUDNN=ON.ligongzheng commentedon Sep 28, 2017
Thank you for your answer . it seems like the page is not found!
luoyetx commentedon Sep 28, 2017
Sorry, I merged the branch. The code is now in master branch.