Commit 3e5b4877 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Remove diagnostic pragmas

parent 2ac634ac
Pipeline #27965 failed with stage
in 53 seconds
......@@ -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=''):
......
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