Skip to content

Commit

Permalink
Add missing HIP tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lindstro committed Oct 9, 2024
1 parent eb844a5 commit cf777e6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/src/endtoend/hipExecBase.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,27 @@ setupDefaultIndexed(void **state)
return setupHipConfig(state, AS_IS, zfp_index_offset, 1);
}

static int
setupDefaultIndexedWithGranularity(void **state)
{
setupExecPolicy(state, zfp_exec_serial, zfp_exec_hip);
return setupHipConfig(state, AS_IS, zfp_index_offset, 16);
}

static int
setupDefaultHybridIndexed(void **state)
{
setupExecPolicy(state, zfp_exec_serial, zfp_exec_hip);
return setupHipConfig(state, AS_IS, zfp_index_hybrid, 1);
}

static int
setupDefaultHybridIndexedWithGranularity(void **state)
{
setupExecPolicy(state, zfp_exec_serial, zfp_exec_hip);
return setupHipConfig(state, AS_IS, zfp_index_hybrid, 16);
}

static int
setupReversedIndexed(void **state)
{
Expand Down

0 comments on commit cf777e6

Please sign in to comment.