argonne-lcf / THAPI

A tracing infrastructure for heterogeneous computing applications.
Other
22 stars 9 forks source link

Prevent wrapping unsupported version of CUDA functions. #272

Closed Kerilk closed 2 months ago

Kerilk commented 2 months ago

To discuss.

TApplencourt commented 2 months ago

LGTM! No sure if we need to escape the \ or \n or not

TApplencourt commented 2 months ago

The \ doesn't show up

THAPI: CUDA version 12020 is unsupported, could not wrap cuMemPrefetchAsync symbol

So I guess we are good.

One of the problem, is that it may break the analysis (for example if don't wrap cuModuleLoad or whatever)

bd4 commented 2 months ago

Is this for when the runtime lib version is newer than the version used at build time?

TApplencourt commented 2 months ago

Exactly! IE when we didn't update the header in THAPI