Skip to content

Configure CUCC/CUFLAGS need to be updated for SYCL and HIP #830

Open
@ARSanderson

Description

@ARSanderson

I am building Hypre with SCYL and needed to modify the compile flags for when ipcx is used. After looking at the config.status file I found that the CUCC and CUFLAGS are used even though configure help says they are for CUDA

./configure --help

CUCC CUDA compiler command
CUFLAGS CUDA compiler flags

Understandable but a bit confusing. We are having to generalize similar flags/code in our project to accommodate CUDA/HIP/SYCL/KOKKOS.

I should also note that when I used CUFLAGS I was expecting the flags to be concatenated on to what configure setup. That is I wanted to add this: CUFLAGS="-fPIC"

But had to add this: CUFLAGS="-fPIC -O3 -fsycl -fsycl-unnamed-lambda"

Not sure what should have been expected.

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