提交 2ec0fa50 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #4526 from abergeron/add_header

Add an include of gpuarray/buffer.h for future work.
...@@ -450,8 +450,9 @@ class GpuArrayType(Type): ...@@ -450,8 +450,9 @@ class GpuArrayType(Type):
# We need arrayobject for the PyArrayDescr struct def # We need arrayobject for the PyArrayDescr struct def
# (even if we just use a pointer to it in a function def) # (even if we just use a pointer to it in a function def)
return ['<gpuarray/array.h>', '<gpuarray/kernel.h>', return ['<gpuarray/array.h>', '<gpuarray/kernel.h>',
'<gpuarray/error.h>', '<gpuarray/buffer_blas.h>', '<gpuarray/error.h>', '<gpuarray/buffer.h>',
'<numpy/arrayobject.h>', '<gpuarray_api.h>'] '<gpuarray/buffer_blas.h>', '<numpy/arrayobject.h>',
'<gpuarray_api.h>']
def c_header_dirs(self): def c_header_dirs(self):
return [pygpu.get_include(), numpy.get_include()] return [pygpu.get_include(), numpy.get_include()]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论