[ 
https://issues.apache.org/jira/browse/SINGA-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15960387#comment-15960387
 ] 

wangwei commented on SINGA-308:
-------------------------------

Yes. It is possible.
To use a GPU and a CPU to do the training, just remove device2 related lines, 
including 
https://github.com/apache/incubator-singa/blob/master/examples/cifar10/alexnet-parallel.cc#L224
https://github.com/apache/incubator-singa/blob/master/examples/cifar10/alexnet-parallel.cc#L227
https://github.com/apache/incubator-singa/blob/master/examples/cifar10/alexnet-parallel.cc#L230
https://github.com/apache/incubator-singa/blob/master/examples/cifar10/alexnet-parallel.cc#L236
https://github.com/apache/incubator-singa/blob/master/examples/cifar10/alexnet-parallel.cc#L237

> CPU-GPU parallelism 
> --------------------
>
>                 Key: SINGA-308
>                 URL: https://issues.apache.org/jira/browse/SINGA-308
>             Project: Singa
>          Issue Type: Test
>          Components: Core, PySINGA
>         Environment: Ubuntu 16.04
> CPU-GPU of the same machine
>            Reporter: Muhammad Hamdan
>              Labels: test
>
> Is it possible to parallelize the alexnet model for the cifar10 example on a 
> CPU and GPU instead of 2-GPUs ? Assuming asynchronous communication between 
> the two components



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to