1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add OpenCL trace support

- Adds the file TracyOpenCL.hpp which contains the API to annotate OpenCL applications
- It works in a similar fashion to the Vulkan annotations
- Adds an example OpenCL application in examples/OpenCLVectorAdd
- Adds "OpenCL Context" to the UI
- Manual entry for annotating OpenCL zones
This commit is contained in:
Thales Sabino
2020-05-27 16:26:52 +01:00
parent 6793b34fb5
commit a46f83364e
7 changed files with 553 additions and 3 deletions
+2 -1
View File
@@ -263,7 +263,8 @@ enum class GpuContextType : uint8_t
{
Invalid,
OpenGl,
Vulkan
Vulkan,
OpenCL
};
struct QueueGpuNewContext