Skip to content

Commit

Permalink
Feature-gate cuda(embed) for dispersal sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr authored Jun 5, 2024
1 parent c9abdf3 commit 89cc93b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub struct AlmostInfiniteDownscaledDispersalSampler<
G: RngCore<M>,
D: Clone + DispersalSampler<M, AlmostInfiniteHabitat<M>, G>,
> {
#[cuda(embed)]
#[cfg_attr(feature = "cuda", cuda(embed))]
dispersal: D,
marker: PhantomData<(M, G)>,
}
Expand Down

0 comments on commit 89cc93b

Please sign in to comment.