QUDA  v0.5.0
A library for QCD on GPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
blas_core.h File Reference

Go to the source code of this file.

Classes

class  BlasCuda< FloatN, M, SpinorX, SpinorY, SpinorZ, SpinorW, Functor >
 

Functions

template<typename FloatN , int M, typename SpinorX , typename SpinorY , typename SpinorZ , typename SpinorW , typename Functor >
__global__ void blasKernel (SpinorX X, SpinorY Y, SpinorZ Z, SpinorW W, Functor f, int length)
 
template<template< typename Float, typename FloatN > class Functor, int writeX, int writeY, int writeZ, int writeW>
void blasCuda (const double2 &a, const double2 &b, const double2 &c, cudaColorSpinorField &x, cudaColorSpinorField &y, cudaColorSpinorField &z, cudaColorSpinorField &w)
 

Function Documentation

template<template< typename Float, typename FloatN > class Functor, int writeX, int writeY, int writeZ, int writeW>
void blasCuda ( const double2 &  a,
const double2 &  b,
const double2 &  c,
cudaColorSpinorField &  x,
cudaColorSpinorField &  y,
cudaColorSpinorField &  z,
cudaColorSpinorField &  w 
)

Driver for generic blas routine with four loads and two store.

Definition at line 113 of file blas_core.h.

template<typename FloatN , int M, typename SpinorX , typename SpinorY , typename SpinorZ , typename SpinorW , typename Functor >
__global__ void blasKernel ( SpinorX  X,
SpinorY  Y,
SpinorZ  Z,
SpinorW  W,
Functor  f,
int  length 
)

Generic blas kernel with four loads and up to four stores.

Definition at line 6 of file blas_core.h.