Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost virtual inheritance Bug #91

Open
jwang323 opened this issue Mar 29, 2015 · 0 comments
Open

Boost virtual inheritance Bug #91

jwang323 opened this issue Mar 29, 2015 · 0 comments

Comments

@jwang323
Copy link
Contributor

From felix.c....@gmail.com on July 08, 2014 02:39:08

We are experiencing trouble using boost versions 1.54 and up. They use virtual/generic inheritance which appears throughout the generated PTX code.
Relying on lower boost versions is not possible due to limitations of our application PIConGPU.

Boost has constructs as this:
class myclass:virtual parent
{ };

Would it be possible to adopt Ocelot's parser, so it is able to handle these?
Currently, we are getting error messages as below:

.global .align 8 .b8 _ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_format_stringEEEEE[168] = {64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 192, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
.global .align 8 .u64 _ZTTN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_format_stringEEEEE[2] = {generic(_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_format_stringEEEEE)+24, generic(_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_2io17bad_format_stringEEEEE)+136};
.global .align 8 .b8 _ZTVN5boost2io18basic_altstringbufIcSt11char_traitsIcESaIcEEE[128];
.const .align 8 .b8 __T214[16];
.global .align 8 .b8 _ZTVN5boost16exception_detail19error_info_injectorINS_2io12too_few_argsEEE[72] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 232, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

Best,
Felix

Original issue: http://code.google.com/p/gpuocelot/issues/detail?id=92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant