提交 8291c2af authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Forward c_compiler from Tensor to Scalar.

上级 2ba62640
......@@ -596,18 +596,18 @@ class TensorType(Type):
}
""" % locals()
def c_headers(self):
def c_headers(self, c_compiler):
"""
Override `CLinkerObject.c_headers`.
"""
return scal.get_scalar_type(self.dtype).c_headers()
return scal.get_scalar_type(self.dtype).c_headers(c_compiler)
def c_libraries(self):
return scal.get_scalar_type(self.dtype).c_libraries()
def c_libraries(self, c_compiler):
return scal.get_scalar_type(self.dtype).c_libraries(c_compiler)
def c_compile_args(self):
return scal.get_scalar_type(self.dtype).c_compile_args()
def c_compile_args(self, c_compiler):
return scal.get_scalar_type(self.dtype).c_compile_args(c_compiler)
def c_support_code(self):
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论