class_docstr: Creates a Module from a single .cu source object linked against the
  static CUDA runtime.
class_docstr_tok: ["Creates","a","Module","from","a","single",".cu","source","object","linked","against","the","static","CUDA","runtime","."]
code: def __init__(
      self,
      source,
      nvcc="nvcc",
      options=None,
      keep=False,
      no_extern_c=False,
      arch=None,
      code=None,
      cache_dir=None,
      include_dirs=[],
  ):
      self._check_arch(arch)
  
      cubin = compile(
          source,
          nvcc,
          options,
          keep,
          no_extern_c,
          arch,
          code,
          cache_dir,
          include_dirs,
      )
  
      from pycuda.driver import module_from_buffer
  
      self.module = module_from_buffer(cubin)
  
      self._bind_module()
  
imports: from pytools import memoize
  import os
  import sys
  from tempfile import mkstemp
  from os import unlink
  from pytools.prefork import call_capture_output
label_desc: Use image node_id 1 to create a new SourceModule object from inherited base classes: CudaModule with example: obj = SourceModule(source, nvcc, options, keep, no_extern_c, arch, code, cache_dir, include_dirs)