Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Delete copy constructor and assign operator
Browse files Browse the repository at this point in the history
  • Loading branch information
pgorlani committed Nov 8, 2023
1 parent a438a25 commit c891716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/sb_handle/portblas_handle.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class SB_Handle {
localMemorySupport_(helper::has_local_memory(q)),
computeUnits_(helper::get_num_compute_units(q)),
tot_size_temp_mem_(0) {}
SB_Handle(SB_Handle&) = delete;
SB_Handle operator=(SB_Handle) = delete;

~SB_Handle() {
#ifdef VERBOSE
Expand All @@ -62,7 +64,6 @@ class SB_Handle {
#endif

#ifdef SB_ENABLE_USM
// synchronize with the host on destruction
q_.wait();

#ifdef VERBOSE
Expand Down

0 comments on commit c891716

Please sign in to comment.