From 3e5b4877e2d29c7fff1b7f1656c4ccea62945221 Mon Sep 17 00:00:00 2001 From: Stephan Seitz <stephan.seitz@fau.de> Date: Fri, 13 Nov 2020 15:58:43 +0100 Subject: [PATCH] Remove diagnostic pragmas --- .../framework_integration/texture_astnodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pystencils_autodiff/framework_integration/texture_astnodes.py b/src/pystencils_autodiff/framework_integration/texture_astnodes.py index 8598426..2e462e8 100644 --- a/src/pystencils_autodiff/framework_integration/texture_astnodes.py +++ b/src/pystencils_autodiff/framework_integration/texture_astnodes.py @@ -125,7 +125,7 @@ auto {{texture_object}}Destroyer = std::unique_ptr(nullptr, [&](){ """) CODE_TEMPLATE_PITCHED2D = jinja2.Template(""" !!! TODO!!! """) CODE_TEMPLATE_CUDA_ARRAY = jinja2.Template(""" -# pragma GCC diagnostic ignored "-Wconversion" +//# pragma GCC diagnostic ignored "-Wconversion" auto channel_desc_{{texture_name}} = {{channel_desc}}; {{ create_array }} {{ copy_array }} @@ -141,7 +141,7 @@ std::shared_ptr<void> {{array}}Destroyer(nullptr, [&](...){ cudaFreeArray({{array}}); cudaUnbindTexture({{texture_namespace}}{{texture_name}}); }); -# pragma GCC diagnostic pop +// #pragma GCC diagnostic pop """) def __init__(self, texture, device_data_ptr, use_texture_objects=True, texture_namespace=''): -- GitLab