Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion scripts/call_all.c.mako
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,19 @@ def getCallArgs(params):
callstr += '???'
return callstr

%>#define CL_USE_DEPRECATED_OPENCL_1_0_APIS
%>/*******************************************************************************
// Copyright (c) 2021-2023 Ben Ashbaugh
//
// SPDX-License-Identifier: MIT or Apache-2.0
*/

/*
// This file is generated from the Khronos OpenCL XML API Registry.
*/

// clang-format off

#define CL_USE_DEPRECATED_OPENCL_1_0_APIS
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS
Expand Down
12 changes: 12 additions & 0 deletions tests/call_all.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*******************************************************************************
// Copyright (c) 2021-2023 Ben Ashbaugh
//
// SPDX-License-Identifier: MIT or Apache-2.0
*/

/*
// This file is generated from the Khronos OpenCL XML API Registry.
*/

// clang-format off

#define CL_USE_DEPRECATED_OPENCL_1_0_APIS
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
Expand Down
8 changes: 8 additions & 0 deletions tests/test_extension_loader.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*******************************************************************************
// Copyright (c) 2021-2023 Ben Ashbaugh
//
// SPDX-License-Identifier: MIT or Apache-2.0
*/

// clang-format off

#include "call_all.c"

int main(int argc, char** argv)
Expand Down
8 changes: 8 additions & 0 deletions tests/test_extension_loader.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/*******************************************************************************
// Copyright (c) 2021-2023 Ben Ashbaugh
//
// SPDX-License-Identifier: MIT or Apache-2.0
*/

// clang-format off

#include "call_all.c"

int main(int argc, char** argv)
Expand Down