Skip to content

[Feature request] Support for Nvidia (former Portland Group) compilers #2407

Closed
@andriish

Description

@andriish

Hi all,

I've tried to compile some Python bindings with the Nvidia compiler (https://developer.nvidia.com/hpc-sdk) and it turns out it more or less works with a tiny exception that one should guard the occurrences of
std::exception_ptr and std::current_exception() with something like

#if !defined (__PGIC__)
....
# endif

I've used 6 such guards in total. Four in the details/internals.h and two in the pybind11.h

I was wondering if that would be interesting for the developers to have this modifications and support the NVidia compiler suite in this way.

Best regards,
Andrii

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions