提交 e5fddc3d authored 作者: carriepl's avatar carriepl

Make cuda backend expose GpuAllocEmpty op

上级 a6efa7b6
...@@ -316,7 +316,7 @@ if cuda_available: ...@@ -316,7 +316,7 @@ if cuda_available:
GpuDimShuffle, GpuCAReduce, GpuReshape, GpuContiguous, GpuDimShuffle, GpuCAReduce, GpuReshape, GpuContiguous,
GpuSubtensor, GpuIncSubtensor, GpuSubtensor, GpuIncSubtensor,
GpuAdvancedSubtensor1, GpuAdvancedIncSubtensor1, GpuAdvancedSubtensor1, GpuAdvancedIncSubtensor1,
GpuFlatten, GpuShape, GpuAlloc, GpuSplit, GpuFlatten, GpuShape, GpuAlloc, GpuAllocEmpty, GpuSplit,
GpuJoin, fscalar, fvector, fmatrix, frow, fcol, GpuJoin, fscalar, fvector, fmatrix, frow, fcol,
ftensor3, ftensor4, ftensor3, ftensor4,
scalar, vector, matrix, row, col, scalar, vector, matrix, row, col,
...@@ -341,7 +341,7 @@ def use(device, ...@@ -341,7 +341,7 @@ def use(device,
Parameters Parameters
---------- ----------
device : string device : string
"cpu", "gpu", "gpuN" (N is the device number to use). "cpu", "gpu", "gpuN" (N is the device number to use).
force force
Will always raise an exception if we can't use the gpu. Will always raise an exception if we can't use the gpu.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论