Skip to content

Instantly share code, notes, and snippets.

View VincentSC's full-sized avatar

Vincent VincentSC

View GitHub Profile
@rjeschke
rjeschke / OpenCLKernel.hpp
Last active September 13, 2024 11:35
OpenCL C language feature emulation include file for Eclipse CDT. This header allows OpenCL kernels to be edited in Eclipse using C++ mode with syntax highlighting and auto-completion. The header contains all basic types and functions for OpenCL 1.2. 'Half' support and extensions are not yet implemented.
/*
* Copyright (C) 2013 René Jeschke <[email protected]>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software