Rosetta
Classes | Functions | Variables
CL.hh File Reference
#include <CL/cl_platform.h>
#include <CL/opencl.h>
#include <CL/cl.h>
#include <map>
#include <string>
#include <time.h>
#include <sys/time.h>
#include <stdio.h>
#include <apps/pilot/will/gpu/CL_args.hh>

Classes

struct  CL
 

Functions

std::string zeromemfunc ("__kernel void CL_HH__AUTO_GEN__zero_mem( __global float* output ) { output[get_global_id(0)] = 0.0f; } ")
 
double time_highres ()
 
float const native_recip (float const x)
 
uint get_global_id (int)
 
uint get_global_size (int)
 
uint get_local_id (int)
 
uint get_local_size (int)
 

Variables

uint gid_
 
uint lid_
 
uint gsz_
 
uint lsz_
 

Function Documentation

◆ get_global_id()

uint get_global_id ( int  )

References gid_.

Referenced by refold_first(), refold_second(), and refold_third().

◆ get_global_size()

uint get_global_size ( int  )

References gsz_.

◆ get_local_id()

uint get_local_id ( int  )

References lid_.

◆ get_local_size()

uint get_local_size ( int  )

References lsz_.

◆ native_recip()

float const native_recip ( float const  x)
inline

References x.

◆ time_highres()

double time_highres ( )

References info().

Referenced by CL::CL(), gpu_refold_test(), and gpu_score_test().

◆ zeromemfunc()

std::string zeromemfunc ( "__kernel void CL_HH__AUTO_GEN__zero_mem( __global float* output ) { output[get_global_id(0)] = 0.0f; } "  )

Referenced by CL::CL().

Variable Documentation

◆ gid_

uint gid_

Referenced by get_global_id(), and gpu_refold_test().

◆ gsz_

uint gsz_

Referenced by get_global_size().

◆ lid_

uint lid_

Referenced by get_local_id().

◆ lsz_

uint lsz_

Referenced by get_local_size().