Function generate_allocation

Source
pub fn generate_allocation(cores: &[u8]) -> CUAllocation