mtl_device 29 src/runtime/metal.cpp WEAK mtl_buffer *new_buffer(mtl_device *device, size_t length) { mtl_device 36 src/runtime/metal.cpp WEAK mtl_command_queue *new_command_queue(mtl_device *device) { mtl_device 62 src/runtime/metal.cpp WEAK mtl_compute_pipeline_state *new_compute_pipeline_state_with_function(mtl_device *device, mtl_function *function) { mtl_device 120 src/runtime/metal.cpp WEAK mtl_library *new_library_with_source(mtl_device *device, const char *source, size_t source_len) { mtl_device 185 src/runtime/metal.cpp WEAK mtl_device *device; mtl_device 214 src/runtime/metal.cpp WEAK int halide_metal_acquire_context(void *user_context, mtl_device **device_ret, mtl_device 225 src/runtime/metal.cpp device = (mtl_device *)MTLCreateSystemDefaultDevice(); mtl_device 269 src/runtime/metal.cpp mtl_device *device; mtl_device 488 src/runtime/metal.cpp mtl_device *acquired_device;