Discussion:
[theano-users] Porting GPU operations from the old GPU backend to the CUDA backend
Minh Ngo
2018-01-17 19:37:04 UTC
Permalink
Hello,

Before theano version 1.0 it was quite straightforward to port existent
CUDA layers available in Caffe to Theano by writing a small piece of CUDA
code and specifying the *.cu file using the theano.sandbox.cuda.GpuOp . For
instance, the correlation layer which I have ported for the FlowNet
architecture [1, 2].

I would like to ask if there is any straightforward way to do the same
using the newly introduced libgpuarray backend.

- Minh

[1]:
https://github.com/Ignotus/theano-flownet/blob/master/correlation_layer.cu
[2]:
https://github.com/Ignotus/theano-flownet/blob/master/correlation_layer.py
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frédéric Bastien
2018-01-31 22:45:43 UTC
Permalink
You should be able to do similar things.

Fred
Post by Minh Ngo
Hello,
Before theano version 1.0 it was quite straightforward to port existent
CUDA layers available in Caffe to Theano by writing a small piece of CUDA
code and specifying the *.cu file using the theano.sandbox.cuda.GpuOp . For
instance, the correlation layer which I have ported for the FlowNet
architecture [1, 2].
I would like to ask if there is any straightforward way to do the same
using the newly introduced libgpuarray backend.
- Minh
https://github.com/Ignotus/theano-flownet/blob/master/correlation_layer.cu
https://github.com/Ignotus/theano-flownet/blob/master/correlation_layer.py
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to theano-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...