/*
								+--------------------------------+
								|                                |
								| *** CUDA to OpenCL pseudo- *** |
								| *** automatic porting lib  *** |
								|                                |
								|  Copyright © -tHE SWINe- 2010  |
								|                                |
								|         CUDA_to_CL.cpp         |
								|                                |
								+--------------------------------+
*/

/**
 *	@file gpgpu/CUDA_to_CL.cpp
 *	@date 2010
 *	@author -tHE SWINe-
 *	@brief CUDA to OpenCL pseudoautomatic porting lib
 */

#include "../NewFix.h"
#include "../CallStack.h"
#include <CL/opencl.h>
#include "CUDA_to_CL.h"

/*
 *								=== COpenCLActiveContext ===
 */

cl_context COpenCLActiveContext::m_h_active_context = 0;

/*
 *								=== ~COpenCLActiveContext ===
 */

/*
 *								=== COpenCLActiveDevice ===
 */

CUcontext COpenCLActiveDevice::m_h_active_device = 0;

/*
 *								=== ~COpenCLActiveDevice ===
 */

/*
 *								=== CCuParamReindexer ===
 */

cl_kernel CCuParamReindexer::m_p_func = 0;
size_t CCuParamReindexer::m_n_param_off = 0;
int CCuParamReindexer::m_n_param_index = 0;
bool CCuParamReindexer::m_b_setsize_called = false;

/*
 *								=== ~CCuParamReindexer ===
 */
