libxsmm_hash Interface

public interface libxsmm_hash

Calculate a hash value for a given key value (binary blob). Conceptually pure, but C_LOC may be (incorrectly) impure.


Contents


Module Procedures

public function libxsmm_hash_char(key, seed)

Calculates a hash value for the given array and seed. FORTRAN 77: see libxsmm_xhash

Arguments

Type IntentOptional Attributes Name
character, INTENT(IN)$CONTIGUOUS :: key(:)
integer(kind=C_INT), intent(in) :: seed

Return Value integer(kind=C_INT)

public function libxsmm_hash_i8(key, seed)

Calculates a hash value for the given array and seed. FORTRAN 77: see libxsmm_xhash

Arguments

Type IntentOptional Attributes Name
integer(kind=C_INT8_T), INTENT(IN)$CONTIGUOUS :: key(:)
integer(kind=C_INT), intent(in) :: seed

Return Value integer(kind=C_INT)

public function libxsmm_hash_i32(key, seed)

Calculates a hash value for the given array and seed. FORTRAN 77: see libxsmm_xhash

Arguments

Type IntentOptional Attributes Name
integer(kind=C_INT), INTENT(IN)$CONTIGUOUS :: key(:)
integer(kind=C_INT), intent(in) :: seed

Return Value integer(kind=C_INT)

public function libxsmm_hash_i64(key, seed)

Calculates a hash value for the given array and seed. FORTRAN 77: see libxsmm_xhash

Arguments

Type IntentOptional Attributes Name
integer(kind=C_LONG_LONG), INTENT(IN)$CONTIGUOUS :: key(:)
integer(kind=C_INT), intent(in) :: seed

Return Value integer(kind=C_INT)