pub struct ServerUtilities<Server>where
    Server: ComputeServer,{
    pub properties: DeviceProperties,
    pub info: <Server as ComputeServer>::Info,
    pub logger: Arc<ServerLogger>,
}Expand description
Contains many different types that are useful for server implementations and compute clients.
Fields§
§properties: DevicePropertiesInformation shared between all servers.
info: <Server as ComputeServer>::InfoInformation specific to the current server.
logger: Arc<ServerLogger>The logger based on global cubecl configs.
Implementations§
Source§impl<S> ServerUtilities<S>where
    S: ComputeServer,
 
impl<S> ServerUtilities<S>where
    S: ComputeServer,
Sourcepub fn new(
    properties: DeviceProperties,
    logger: Arc<ServerLogger>,
    info: <S as ComputeServer>::Info,
) -> ServerUtilities<S>
 
pub fn new( properties: DeviceProperties, logger: Arc<ServerLogger>, info: <S as ComputeServer>::Info, ) -> ServerUtilities<S>
Creates a new server utilities.
Trait Implementations§
Auto Trait Implementations§
impl<Server> Freeze for ServerUtilities<Server>
impl<Server> RefUnwindSafe for ServerUtilities<Server>
impl<Server> Send for ServerUtilities<Server>
impl<Server> Sync for ServerUtilities<Server>
impl<Server> Unpin for ServerUtilities<Server>
impl<Server> UnwindSafe for ServerUtilities<Server>
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