提交 555be3a5 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

c_code() for GpuCAReduce.

This is not pretty code, but it is working code.
上级 8d26859e
...@@ -55,7 +55,12 @@ class test_GpuCAReduce(test_CAReduce): ...@@ -55,7 +55,12 @@ class test_GpuCAReduce(test_CAReduce):
test_nan=True) test_nan=True)
def test_c(self): def test_c(self):
raise SkipTest("no C code") for dtype in self.dtypes + self.bin_dtypes:
for op in self.reds:
self.with_linker(gof.CLinker(), op, dtype=dtype)
def test_c_nan(self): def test_c_nan(self):
raise SkipTest("no C code") for dtype in self.dtypes:
for op in self.reds:
self.with_linker(gof.CLinker(), op, dtype=dtype,
test_nan=True)
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论