Commit 9095d9ef authored by Martin Bauer's avatar Martin Bauer

Exported all integer types of GPUFields to Python

parent 66daabec
......@@ -50,6 +50,7 @@ typedef bmpl::vector<
Field<walberla::real_t,4>,
Field<walberla::real_t,5>,
Field<walberla::real_t,9>,
Field<walberla::real_t,15>,
Field<walberla::real_t,19>,
Field<walberla::real_t,27>,
......@@ -123,7 +124,9 @@ struct InitObject
#ifdef WALBERLA_BUILD_WITH_CUDA
using walberla::cuda::GPUField;
typedef bmpl::vector<GPUField<double>, GPUField<float>, GPUField<int>, GPUField<uint8_t>, GPUField<uint16_t> > GPUFields;
typedef bmpl::vector<GPUField<double>, GPUField<float>,
GPUField<int8_t>, GPUField<int16_t>, GPUField<int32_t>, GPUField<int64_t>,
GPUField<uint8_t>, GPUField<uint16_t>, GPUField<uint32_t>,GPUField<uint64_t> > GPUFields;
pythonManager->addExporterFunction( cuda::exportModuleToPython<GPUFields, FieldTypes> );
pythonManager->addBlockDataConversion<GPUFields>();
......
......@@ -4,6 +4,6 @@
#
###################################################################################################
waLBerla_add_module( DEPENDS core communication domain_decomposition python_coupling field stencil BUILD_ONLY_IF_FOUND CUDA )
waLBerla_add_module( DEPENDS blockforest core communication domain_decomposition python_coupling field stencil BUILD_ONLY_IF_FOUND CUDA )
###################################################################################################
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment