parameters: (self)
return_statement: return self.autotune.closest(thread_per_block)
docstring: Occupancy is the ratio of the number of active warps per multiprocessor to the maximum
          number of warps that can be active on the multiprocessor at once.
          Calculate the theoretical occupancy of the kernel given the
          current configuration.
docstring_summary: Occupancy is the ratio of the number of active warps per multiprocessor to the maximum
          number of warps that can be active on the multiprocessor at once.
          Calculate the theoretical occupancy of the kernel given the
          current configuration.
docstring_tokens: Occupancy is the ratio of the number of active warps per multiprocessor to the maximum number of warps that can be active on the multiprocessor at once . Calculate the theoretical occupancy of the kernel given the current configuration .
function: def occupancy(self):
          """Occupancy is the ratio of the number of active warps per multiprocessor to the maximum
          number of warps that can be active on the multiprocessor at once.
          Calculate the theoretical occupancy of the kernel given the
          current configuration."""
          warnings.warn(_deprec_warn_msg.format('occupancy'), DeprecationWarning)
          thread_per_block = reduce(operator.mul, self.blockdim, 1)
          return self.autotune.closest(thread_per_block)
function_tokens: def occupancy ( self ) : warnings . warn ( _deprec_warn_msg . format ( 'occupancy' ) , DeprecationWarning ) thread_per_block = reduce ( operator . mul , self . blockdim , 1 ) return self . autotune . closest ( thread_per_block )