Mentions légales du service

Skip to content

error: template with C linkage

When chameleon is configured with cuda or hip we have some error: template with C linkage issues when linking a C++ program with chameleon, cf. !557 (merged)

The problem seems to be here : https://gitlab.inria.fr/solverstack/chameleon/-/blob/master/include/chameleon/tasks.h?ref_type=heads#L110 where gpucublas.h is included inside a section extern "C" which is not possible because gpucublas.h itself contains some include to cuda headers which bring some C++ code (maybe from cuda_fp16.h)

Edited by PRUVOST Florent