Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template and split marray tests to reduce memory consumption #919

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions ci/hipsycl.filter
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ item
kernel
kernel_args
kernel_bundle
marray
marray_basic
marray_bitwise
marray_pre_post
marray_relational
marray_arithmetic_assignment
marray_arithmetic_binary
math_builtin_api
marray
multi_ptr
nd_item
nd_range
Expand Down
20 changes: 20 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,26 @@ function(get_std_type OUT_LIST)
set(${OUT_LIST} ${${OUT_LIST}} ${STD_TYPE_LIST} PARENT_SCOPE)
endfunction()

function(get_marray_elem_type OUT_LIST)
set(TYPE_LIST "")
get_std_type(TYPE_LIST)

list(APPEND TYPE_LIST "custom_int")

if(SYCL_CTS_ENABLE_FULL_CONFORMANCE)
list(APPEND TYPE_LIST
"std::uint8_t"
"std::int16_t"
"std::uint16_t"
"std::uint32_t"
"std::int64_t"
"std::uint64_t"
)
endif()

set(${OUT_LIST} ${${OUT_LIST}} ${TYPE_LIST} PARENT_SCOPE)
endfunction()

function(get_no_vec_alias_type OUT_LIST)
set(NO_VEC_ALIAS_LIST "")
list(APPEND NO_VEC_ALIAS_LIST sycl::byte)
Expand Down
3 changes: 0 additions & 3 deletions tests/marray/CMakeLists.txt

This file was deleted.

45 changes: 0 additions & 45 deletions tests/marray/marray_alignment_fp16.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions tests/marray/marray_alignment_fp64.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions tests/marray/marray_constructor_fp16.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions tests/marray/marray_constructor_fp64.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions tests/marray/marray_members_fp16.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions tests/marray/marray_members_fp64.cpp

This file was deleted.

46 changes: 0 additions & 46 deletions tests/marray/marray_operators_arithmetic_assignment_fp16.cpp

This file was deleted.

Loading
Loading