Using legal module IDs for GPU fat binaries.