Sign in
android
/
platform
/
external
/
pytorch
/
482d1f4b8c
/
.
/
caffe2
/
contrib
/
aten
/
aten_op_gpu.cc
blob: 093f9bd6ea966ee26f111f1f318697e2de2d5094 [
file
] [
log
] [
blame
]
#include
"caffe2/contrib/aten/aten_op.h"
#include
"caffe2/core/context_gpu.h"
namespace
caffe2
{
REGISTER_CUDA_OPERATOR
(
ATen
,
ATenOp
<
CUDAContext
>);
template
<>
at
::
Backend
ATenOp
<
CUDAContext
>::
backend
()
const
{
return
at
::
Backend
::
CUDA
;
}
}