parameters: (self)
return_statement: return _api_internal._GetDeviceAttr(
              self.device_type, self.device_id, 1)
docstring: Maximum number of threads on each block.
docstring_summary: Maximum number of threads on each block.
docstring_tokens: Maximum number of threads on each block .
function: def max_threads_per_block(self):
          """Maximum number of threads on each block."""
          return _api_internal._GetDeviceAttr(
              self.device_type, self.device_id, 1)
function_tokens: def max_threads_per_block ( self ) : return _api_internal . _GetDeviceAttr ( self . device_type , self . device_id , 1 )