_$(sm),code=sm_$(sm))) # Generate PTX code from the highest SM architecture in $(SMS) to guarantee forward-compatibility
"sm_60", "sm_61", "sm_70") -- generate PTX code from the highest SM architecture to guarantee forward-compatibility
此类方案通常需对接 CUDA Forward-Compatibility Runtime。 但软件虚拟化与 CPU 硬件辅助虚拟化(如 Intel VT-x/AMD-V)的成熟度尚有差距。