Skip to content

chore: vortex-cuda cleanups#6703

Merged
0ax1 merged 2 commits intodevelopfrom
ad/cuda-cleanups
Feb 27, 2026
Merged

chore: vortex-cuda cleanups#6703
0ax1 merged 2 commits intodevelopfrom
ad/cuda-cleanups

Conversation

@0ax1
Copy link
Contributor

@0ax1 0ax1 commented Feb 27, 2026

No description provided.

Signed-off-by: Alexander Droste <alexander.droste@protonmail.com>
@0ax1 0ax1 added the changelog/chore A trivial change label Feb 27, 2026
@0ax1 0ax1 requested a review from onursatici February 27, 2026 10:50
.map_err(|e| vortex_err!("Failed to schedule async copy to device: {}", e))?;
}
drop(record_write);
self.memcpy_htod(host_slice, &mut cuda_slice)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cudarc's memcopy_htod does the event record handling under the hood.

}

/// Schedules an async H2D memcpy from a pinned host buffer to a device slice.
pub(crate) fn memcpy_htod<H: HostSlice<u8>>(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could drop the these passthrough functions by implementing deref.

Signed-off-by: Alexander Droste <alexander.droste@protonmail.com>
}

/// Set an optional coalesce config for this source.
pub fn with_some_coalesce_config(mut self, config: Option<CoalesceConfig>) -> Self {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Figured we could drop this, as it is also not used on object_store::read_at

@0ax1 0ax1 merged commit 8e29827 into develop Feb 27, 2026
54 checks passed
@0ax1 0ax1 deleted the ad/cuda-cleanups branch February 27, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/chore A trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants