Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

OpenCLUtils.C File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <CL/cl.h>

Go to the source code of this file.


Functions

int vmd_cl_print_platform_info (void)
cl_platform_id vmd_cl_get_platform_index (int i)
int vmd_cl_context_num_devices (cl_context clctx)
cl_command_queue vmd_cl_create_command_queue (cl_context clctx, int dev)
cl_kernel vmd_cl_compile_kernel (cl_context clctx, const char *kernname, const char *srctext, const char *flags, cl_int *clerr, int verbose)
cl_kernel vmd_cl_compile_kernel_file (cl_context clctx, const char *kernname, const char *filename, const char *flags, cl_int *clerr, int verbose)

Function Documentation

cl_kernel vmd_cl_compile_kernel ( cl_context clctx,
const char * kernname,
const char * srctext,
const char * flags,
cl_int * clerr,
int verbose
)

Definition at line 209 of file OpenCLUtils.C.

References NULL.

cl_kernel vmd_cl_compile_kernel_file ( cl_context clctx,
const char * kernname,
const char * filename,
const char * flags,
cl_int * clerr,
int verbose
)

Definition at line 254 of file OpenCLUtils.C.

References NULL, and vmd_cl_compile_kernel.

int vmd_cl_context_num_devices ( cl_context clctx )

Definition at line 179 of file OpenCLUtils.C.

References NULL.

cl_command_queue vmd_cl_create_command_queue ( cl_context clctx,
int dev
)

Definition at line 189 of file OpenCLUtils.C.

References NULL.

cl_platform_id vmd_cl_get_platform_index ( int i )

Definition at line 156 of file OpenCLUtils.C.

References NULL.

int vmd_cl_print_platform_info ( void )

Definition at line 38 of file OpenCLUtils.C.

References NULL.

Referenced by VMDApp::VMDinit.


Generated on Mon Nov 17 02:47:43 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /