You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have seen many warnings when compiling Realm with CUDA 12.8, e.g.
In file included from /home/scratch.weiwu_sw/anaconda3/envs/cuda128/x86_64-conda-linux-gnu/sysroot/usr/include/limits.h:26,
from /home/scratch.weiwu_sw/anaconda3/envs/cuda128/lib/gcc/x86_64-conda-linux-gnu/11.2.0/include-fixed/limits.h:203,
from /home/scratch.weiwu_sw/anaconda3/envs/cuda128/lib/gcc/x86_64-conda-linux-gnu/11.2.0/include-fixed/syslimits.h:7,
from /home/scratch.weiwu_sw/anaconda3/envs/cuda128/lib/gcc/x86_64-conda-linux-gnu/11.2.0/include-fixed/limits.h:34,
from /home/weiwu/scratch/legion-master/runtime/realm/profiling.h:21,
from /home/weiwu/scratch/legion-master/runtime/realm/profiling.cc:18:
/home/scratch.weiwu_sw/anaconda3/envs/cuda128/x86_64-conda-linux-gnu/sysroot/usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
330 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
/home/weiwu/scratch/legion-master/runtime/realm/activemsg.inl:382:10: warning: unused variable 'ok' [-Wunused-variable]
382 | bool ok = fbs.append_bytes(data, datalen);
These warnings come from the following pattern
bool ok = foo();
assert(ok);
The assert will be optimized in release mode, not sure why it is not triggered before.
I create this ticket to remind myself to fix it later.
The text was updated successfully, but these errors were encountered:
We have seen many warnings when compiling Realm with CUDA 12.8, e.g.
These warnings come from the following pattern
The
assert
will be optimized in release mode, not sure why it is not triggered before.I create this ticket to remind myself to fix it later.
The text was updated successfully, but these errors were encountered: