'Compile and bind to the current context a version of this kernel
specialized for the given *args*.'

def specialize(self, *args):

    argtypes = tuple([self.typingctx.resolve_argument_type(a) for a in args])
    kernel = self.compile(argtypes)
    return kernel
