Hash :
c0d806b4
Author :
Date :
2025-02-10T23:01:33
CL: OpenCL support for ANGLE Capture/Replay Implementation of OpenCL Capture/Replay tool in ANGLE. Brief notes about the change: - Most meaningful changes for the capture process are made in src/libANGLE/capture/ - Most meaningful changes for replay are made in util/capture/ and src/tests/perf_tests/ - Many autogenerated files are changed/added to allow the capture of OpenCL objects & calls - The following applications were captured/replayed: benchmark_model, GeekBench Compute, GeekBench ML, AI-Benchmark, various OCL CTS tests - End2end test added to capture_tests. CapturedTestCL.MultiFrameCL/ES3_Vulkan Bug: angleproject:383841335 Change-Id: I55fdaa6cd6c7ba740aaa2351e4d29050059d6d1d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6102105 Commit-Queue: Cody Northrop <cnorthrop@google.com> Reviewed-by: Roman Lavrov <romanl@google.com> Reviewed-by: Cody Northrop <cnorthrop@google.com>
#pragma once
#define CL_NO_EXTENSION_PROTOTYPES
#include <angle_cl.h>
#include <stdint.h>
#include "trace_fixture_cl.h"
// Public functions are declared in trace_fixture_cl.h.
// Private Functions
void ReplayFrame2(void);
void ReplayFrame3(void);
void ReplayFrame4(void);
void ReplayFrame5(void);
void InitReplay(void);
// Global variables
extern const char * clCreateProgramWithSource_strings_0[];
static clIcdGetPlatformIDsKHR_fn clIcdGetPlatformIDsKHR;