Skip to content

Commit

Permalink
Code deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Kulikov committed Oct 5, 2023
1 parent 6d7fc64 commit 4ee1c25
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include "oneapi/dal/table/backend/interop/common.hpp"
#include "oneapi/dal/table/backend/interop/host_homogen_to_soa_table_adapter.hpp"
#include "oneapi/dal/table/backend/interop/host_soa_to_homogen_table_adapter.hpp"
#include "oneapi/dal/table/backend/interop/host_heterogen_to_soa_table_adapter.hpp"
#include "oneapi/dal/table/backend/interop/host_soa_to_heterogen_table_adapter.hpp"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include "oneapi/dal/table/backend/interop/host_soa_table_adapter.hpp"
#include "oneapi/dal/table/backend/interop/common.hpp"

#include "oneapi/dal/detail/error_messages.hpp"

namespace oneapi::dal::backend::interop {

heterogen_table convert_to_heterogen(const soa_table_ptr_t& t) {
Expand Down Expand Up @@ -58,12 +60,15 @@ heterogen_table convert_to_heterogen(soa_table_t& t) {
auto shared_ptr = column_block.getBlockSharedPtr();
const type_t* const raw_ptr = shared_ptr.get();

dal::array<type_t> column(raw_ptr, row_count, [shared_ptr, t](const type_t*) {});
auto deleter = [shared_ptr, t](const type_t*) {};
dal::array<type_t> column(raw_ptr, row_count, deleter);

table.set_column(col, std::move(column));
},
[](auto dummy) {
throw;
[](auto dummy) -> void {
using msg = detail::error_messages;
auto str = msg::unsupported_table_conversion();
throw dal::unimplemented(str);
},
dal_dtype);
}
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 4ee1c25

Please sign in to comment.