[][src]Function rustacuda::quick_init

pub fn quick_init() -> CudaResult<Context>

Shortcut for initializing the CUDA Driver API and creating a CUDA context with default settings for the first device.

This is useful for testing or just setting up a basic CUDA context quickly. Users with more complex needs (multiple devices, custom flags, etc.) should use init and create their own context.