Project

General

Profile

Bug #2681

clang-6 native CUDA undefined template warnings

Added by Szilárd Páll 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

clang 6 in native CUDA mode issues a number of -Wundefined-func-template warnings that need to be solved before we can bump the clang version in the post-submit matrix (https://gerrit.gromacs.org/#/c/8502/)

The full list of warnigns:
http://jenkins.gromacs.org/job/Matrix_OnDemand/505/OPTIONS=clang-6%20simd=sse4.1%20openmp%20nranks=1%20gpuhw=nvidia%20cuda-9.0%20clang_cuda%20host=bs_nix1204,label=bs_nix1204/warnings26Result/

Some examples:

pme-gpu-internal.cpp:387, GNU C Compiler 4 (gcc), Priority: Normal
instantiation of function 'initParamLookupTable' required here, but no definition is available [-Wundefined-func-template]

nbnxn_cuda.cu:558, GNU C Compiler 4 (gcc), Priority: Normal
instantiation of function 'nbnxn_kernel_prune_cuda' required here, but no definition is available [-Wundefined-func-template]

Associated revisions

Revision 97fe7d2f (diff)
Added by Szilárd Páll 8 months ago

Fix more clang-6 warnings in CUDA code

Fixes #2681

Change-Id: Ic1e096328687e53ca814034c4c3eb8db40db46df

History

#1 Updated by Gerrit Code Review Bot 8 months ago

Gerrit received a related patchset '4' for Issue #2681.
Uploader: Mark Abraham ()
Change-Id: gromacs~master~Ic1e096328687e53ca814034c4c3eb8db40db46df
Gerrit URL: https://gerrit.gromacs.org/8509

#2 Updated by Mark Abraham 8 months ago

There was another two lines to the messages - clang just wanted extern template declarations for the cases we intend to use and define elsewehre.

#3 Updated by Szilárd Páll 8 months ago

  • Status changed from New to Resolved

#4 Updated by Mark Abraham 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF