Skip to content

Additional options required for Clang and GPU offloading #1990

@ocaisa

Description

@ocaisa

I just noticied that the JSC easyconfigs set a number of additional options for Clang 9.0.0:

configopts = '-DCLANG_OPENMP_NVPTX_DEFAULT_ARCH=sm_37'
configopts += ' -DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES=35,37'
configopts += ' -DCLANG_DEFAULT_STD_CXX=cxx14'
stage3_configopts = '-DLIBOMPTARGET_NVPTX_ENABLE_BCLIB=1'
stage3_configopts += ' -DLIBOMPTARGET_NVPTX_CUDA_COMPILER=%(builddir)s/llvm.obj.2/bin/clang'
stage3_configopts += ' -DLIBOMPTARGET_NVPTX_BC_LINKER=%(builddir)s/llvm.obj.2//bin/llvm-link'

The OMP related stuff in stage 3 looks like it may have some importance, any more info @damianam ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions