8000 Question with using GPU · Issue #51 · luoyetx/mini-caffe · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

Question with using GPU #51

Open
Open

Description

@ligongzheng

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

  1. luoyetx commented on Sep 20, 2017

    @luoyetx
    Owner

    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.

  2. ligongzheng commented on Sep 28, 2017

    @ligongzheng
    Author

    Thank you for your answer . it seems like the page is not found!

  3. luoyetx commented on Sep 28, 2017

    @luoyetx
    Owner

    Sorry, I merged the branch. The code is now in master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0