Skip to content

How to lower the total needed shared memory? #8

@yangarbiter

Description

@yangarbiter

Hi Chou,

I am encountering the following problem when trying to run convolutional neural network.

terminate called after throwing an instance of 'std::runtime_error'
  what():  [Error] In function "getSuitableShmConfig" (at src/cnn-utility.cu:418): Exceeds maximum shared memory available. (49152 bytes)
kernel = (100, 92), grids = (8, 8, 40), threads = (4, 4, 1)  => 75940 bytes of shared memory needed.

What is the standard way to fix this problem if I really don't have that much memory? (ex. lowering thread count)

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions