apply alp patches in parallel in cuda#8793
Conversation
Signed-off-by: Onur Satici <onur@spiraldb.com>
Polar Signals Profiling ResultsLatest Run
Previous Runs (4)
Powered by Polar Signals Cloud |
Benchmarks: Vortex queriesVerdict: No clear signal (low confidence) How to read Verdict and Engines
datafusion / vortex-file-compressed (1.067x ➖, 0↑ 0↓)
datafusion / parquet (0.993x ➖, 0↑ 0↓)
duckdb / vortex-file-compressed (1.064x ➖, 0↑ 0↓)
duckdb / parquet (1.022x ➖, 0↑ 0↓)
No file size changes detected. |
cb6b225 to
2cc5a01
Compare
|
@claude review this pr. and check whether scatter_alp_patches_range is even specific to alp |
| /// so add `patches.offset` while locating chunks and subtract it when addressing `out`. | ||
| /// Every thread cooperates on each overlapping FastLanes chunk. | ||
| template <typename T> | ||
| __device__ __forceinline__ void scatter_alp_patches_range(const GPUPatches &patches, |
There was a problem hiding this comment.
yeah no force inline please, inline should always be enough
|
Claude finished @0ax1's task in 3m 13s —— View job PR Review: apply alp patches in parallel in cuda
Is
|
Merging this PR will not alter performance
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| 🆕 | WallTime | cuda/alp_for_bp_6bw_f64_1pct_patches/dispatch_f64[100M] |
N/A | 2.2 ms | N/A |
Comparing os/alp-patches (af05b28) with develop (3975895)
Footnotes
-
10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
0ax1
left a comment
There was a problem hiding this comment.
Great perf boost! Let's land this once we change the name for scatter_alp_patches_range and change the force inline to a simple inline.
We used to walk through the patches after decoding ALP then apply them one by one. Now we scatter them among workers and apply these in parallel