Skip to content

Conversation

@olupton
Copy link

@olupton olupton commented Dec 21, 2021

#1 worked with the NVIDIA compilers, but not with GCC.

We don't currently use GCC for GPU offloading, but we do use OpenMP for host threading so it isn't a good idea to break GCC + OpenMP compilation.

This reverts #1 in favour of a simpler approach, where we drop the dynamic cache size setting functionality entirely when compiling with OpenMP. This can be refined later if needed.

Copy link

@pramodk pramodk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This seems to be important because of compiling with -cuda now.
@olupton olupton merged commit 0cfcbc8 into extend_CUDA_support Dec 21, 2021
@olupton olupton deleted the olupton/different-openmp-fix branch December 21, 2021 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants