Commit 33db7b7b authored by Brice Videau's avatar Brice Videau
Browse files

Fixed pointer display.

parent a641ea18
Pipeline #11582 failed with stage
......@@ -65,6 +65,8 @@ EOF
when YAMLCAst::CustomType
if $objects.include?(p.type.name)
"s << \"#{p.name}: \#{\"0x%016x\" % defi[\"#{p.name}\"]}\""
elsif p.type.name == "CUdeviceptr"
"s << \"#{p.name}: \#{\"0x%016x\" % defi[\"#{p.name}\"]}\""
elsif $all_enum_names.include?(p.type.name)
"s << \"#{p.name}: \#{CUDA::#{to_class_name(p.type.name)}.from_native(defi[\"#{p.name}\"], nil)}\""
elsif $all_bitfield_names.include?(p.type.name)
......
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