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
Currently when I tried to compile a hip program, clang accepts one optimization level -O<N> and use it in both compiling CPU code and GPU code. Is there any reason to use the same optimization level, or it can be set differently?
X problem: Linux distro commonly used -O2 flags (for CPU, apparently), while for GPGPU programs -O3 is more widely adopted. See gentoo/gentoo#33400 (comment)