pub struct GpuShared<T: ?Sized> { /* private fields */ }Expand description
Static GPU shared memory. NVCC always aligns shared memory to 16 bytes, so we also align to 16 bytes here.
Implementations§
pub fn chunk_mut<'a, Map: ScopeUniqueMap<Block2ThreadScope>>( &'a mut self, map_params: Map, ) -> SMemThreadChunk<'a, T, Block2ThreadScope, Map>
pub fn chunk_to_scope<'a, CS, Map: ScopeUniqueMap<CS>>(
&'a mut self,
_scope: CS,
map_params: Map,
) -> SMemThreadChunk<'a, T, CS, Map>where
CS: ChunkScope<FromScope = Block>,
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more