[Phi] implementing fully async queues, fences and semaphores
This commit is contained in:
@@ -6,11 +6,13 @@
|
||||
typedef struct PhiCommandReader
|
||||
{
|
||||
PhiEndpoint endpoint;
|
||||
const uint8_t* memory;
|
||||
uint64_t remaining;
|
||||
} PhiCommandReader;
|
||||
|
||||
int HandleWorkExecution(PhiEndpoint endpoint, const PhiMessageHeader* header);
|
||||
int DrainCommandReader(PhiCommandReader* reader);
|
||||
PhiStatus ExecuteCommandBuffer(const void* data, uint64_t size, uint64_t cmd_count);
|
||||
PhiStatus ReadCommandData(PhiCommandReader* reader, void* data, uint64_t size);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user