def magic_tuple(self):
        """
        Return a tuple unambiguously describing the codegen behaviour.
        """
        ctx = devices.get_context()
        cc = ctx.device.compute_capability
        return (runtime.runtime.get_version(), cc)

        Return a tuple unambiguously describing the codegen behaviour.
        
numba/cuda/codegen.py