12#ifndef GPURECONSTRUCTIONOMETALINCLUDESHOST_H
13#define GPURECONSTRUCTIONOMETALINCLUDESHOST_H
16#error "this header establishes GPUCA_GPUTYPE_METAL and __METAL_HOST__, so it must be included before any other GPU header"
19#define GPUCA_GPUTYPE_METAL
21#import <Metal/Metal.h>
22#ifndef __METAL_VERSION__
30#import <Foundation/Foundation.h>
54 std::array<id<MTLCommandQueue>, constants::GPU_MAX_STREAMS>
commandQueues;
59 std::array<std::vector<id<MTLCommandBuffer>>, constants::GPU_MAX_STREAMS>
submittedBuffers;