Skip to content

DFlare speculator support - #1306

Draft
eugenebokhan wants to merge 5 commits into
stacked-projectionsfrom
incling-speculator
Draft

eugenebokhan wants to merge 5 commits into
stacked-projectionsfrom
incling-speculator

Conversation

@eugenebokhan

Copy link
Copy Markdown
Contributor

No description provided.

#include "../common/dsl.h"

template <typename T>
VARIANTS(T, float, half, bfloat)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

probably don't need all these types?

const device T* row_taps = taps + size_t(row) * tap_count * model_dim + channel;
float sum = 0.0f;
for (uint tap = 0; tap < tap_count; ++tap) {
sum += float(row_taps[tap * model_dim]) * tap_weights[tap * model_dim + channel];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we try to make read of taps and weights contiguous?

@eugenebokhan eugenebokhan self-assigned this Dec 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants