[
https://issues.apache.org/jira/browse/SINGA-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15217587#comment-15217587
]
ASF subversion and git services commented on SINGA-148:
-------------------------------------------------------
Commit 77d5c5ce357b55144fbe25998fad333a0010d40b in incubator-singa's branch
refs/heads/master from WANG Sheng
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=77d5c5c ]
SINGA-148 Race condition between Worker threads and Driver
merge pr-140 to master
> Race condition between Worker threads and Driver
> ------------------------------------------------
>
> Key: SINGA-148
> URL: https://issues.apache.org/jira/browse/SINGA-148
> Project: Singa
> Issue Type: Bug
> Environment: Tested on Debian 8.3
> Reporter: Tan Li Boon
> Labels: newbie
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In the main branch, a thread of execution for each worker is started before
> information about its device type is passed into it.
> This causes test cases such as MNIST to not use GPUs for calculation, and
> other test cases such as CIFAR10 to fail when it attempts to perform
> cudnn-based functions on the CPU.
> A temporary workaround is to make the worker thread sleep for 1 second, but
> that's not a desirable workaround.
> This issue aims to implement a proper fix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)