Hip_api.Devicetype t = {id : int;handle : Hip_types.hip_device;name : string;total_mem : int64;compute_capability : int * int;max_threads_per_block : int;max_block_dims : int * int * int;max_grid_dims : int * int * int;warp_size : int;multiprocessor_count : int;integrated : bool;hipDeviceAttributeIntegrated: the GPU shares system memory (APU)
*)}val device_cache : (int, t) Stdlib.Hashtbl.tval get_attribute : int -> Hip_types.hip_device_attribute -> intval create_device : int -> tval get : int -> tval set_current : t -> unitval synchronize : t -> unitval destroy : t -> unit