loopy/kernel/data.py
def update_persistent_hash(self, key_hash, key_builder):
        """Custom hash computation function for use with
        :class:`pytools.persistent_dict.PersistentDict`.
        """

        super(TemporaryVariable, self).update_persistent_hash(key_hash, key_builder)
        key_builder.rec(key_hash, self.storage_shape)
        key_builder.rec(key_hash, self.base_indices)

        initializer = self.initializer
        if initializer is not None:
            initializer = (initializer.tolist(), initializer.dtype)
        key_builder.rec(key_hash, initializer)

        key_builder.rec(key_hash, self.read_only)
Custom hash computation function for use with
        :class:`pytools.persistent_dict.PersistentDict`.
        
Custom hash computation function for use with
Custom hash computation function for use with
def update_persistent_hash(self, key_hash, key_builder):
        super(TemporaryVariable, self).update_persistent_hash(key_hash, key_builder)
        key_builder.rec(key_hash, self.storage_shape)
        key_builder.rec(key_hash, self.base_indices)
        initializer = self.initializer
        if initializer is not None:
            initializer = (initializer.tolist(), initializer.dtype)
        key_builder.rec(key_hash, initializer)
        key_builder.rec(key_hash, self.read_only)
def update_persistent_hash ( self , key_hash , key_builder ) : super ( TemporaryVariable , self ) . update_persistent_hash ( key_hash , key_builder ) key_builder . rec ( key_hash , self . storage_shape ) key_builder . rec ( key_hash , self . base_indices ) initializer = self . initializer if initializer is not None : initializer = ( initializer . tolist ( ) , initializer . dtype ) key_builder . rec ( key_hash , initializer ) key_builder . rec ( key_hash , self . read_only )
Custom hash computation function for use with
Custom hash computation function for use with
"""Custom hash computation function for use with
        :class:`pytools.persistent_dict.PersistentDict`.
        """
self
key_hash
key_builder
class
None