Hash :
dfe208f1
        
        Author :
  
        
        Date :
2021-04-28T18:26:00
        
      
Add loader for CL pass-through back end Bug: angleproject:5904 Change-Id: If4960f3150f6bbc85a30f0f6ac5c9e668e6ff756 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2864022 Commit-Queue: John Plate <jplate@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com>
//
// Copyright 2021 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// dispatch.h: Declares a function to fetch the ANGLE OpenCL dispatch table.
#ifndef LIBOPENCL_DISPATCH_H_
#define LIBOPENCL_DISPATCH_H_
#include "export.h"
#ifndef CL_API_ENTRY
#    define CL_API_ENTRY ANGLE_EXPORT
#endif
#include "angle_cl.h"
namespace cl
{
struct IcdDispatch : public _cl_icd_dispatch
{
    clIcdGetPlatformIDsKHR_fn clIcdGetPlatformIDsKHR;
};
const IcdDispatch &GetDispatch();
}  // namespace cl
#endif  // LIBOPENCL_DISPATCH_H_