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

util_simd.C File Reference

#include <stddef.h>
#include "WKFThreads.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

Go to the source code of this file.

Defines

#define VMDUSESSE   1
#define myintptrtype   unsigned long

Functions

int analyze_selection_aligned_avx (int n, const int *on, int *firstsel, int *lastsel, int *selected)
int analyze_selection_aligned_avx2 (int n, const int *on, int *firstsel, int *lastsel, int *selected)
int find_first_selection_aligned (int n, const int *on, int *firstsel)
int find_last_selection_aligned (int n, const int *on, int *lastsel)
int analyze_selection_aligned (int n, const int *on, int *firstsel, int *lastsel, int *selected)
int analyze_selection_aligned_dispatch (wkf_cpu_caps_t *cpucaps, int n, const int *on, int *firstsel, int *lastsel, int *selected)
void minmaxmean_1fv_aligned (const float *f, ptrdiff_t n, float *fmin, float *fmax, float *fmean)
 find min/max/mean values for an array of floats. More...

void minmax_1fv_aligned (const float *f, ptrdiff_t n, float *fmin, float *fmax)
 find min/max values for an array of floats. More...

void minmax_3fv_aligned (const float *f, const ptrdiff_t n3, float *fmin, float *fmax)
int minmax_selected_3fv_aligned (const float *f, const int *on, const ptrdiff_t n3, const ptrdiff_t firstsel, const ptrdiff_t lastsel, float *fmin, float *fmax)


Define Documentation

#define myintptrtype   unsigned long
 

Definition at line 113 of file util_simd.C.

#define VMDUSESSE   1
 

Definition at line 30 of file util_simd.C.


Function Documentation

int analyze_selection_aligned int    n,
const int *    on,
int *    firstsel,
int *    lastsel,
int *    selected
 

Definition at line 429 of file util_simd.C.

References find_first_selection_aligned, find_last_selection_aligned, n, NULL, and vec_add.

int analyze_selection_aligned_avx int    n,
const int *    on,
int *    firstsel,
int *    lastsel,
int *    selected
 

Referenced by analyze_selection_aligned_dispatch.

int analyze_selection_aligned_avx2 int    n,
const int *    on,
int *    firstsel,
int *    lastsel,
int *    selected
 

Referenced by analyze_selection_aligned_dispatch.

int analyze_selection_aligned_dispatch wkf_cpu_caps_t   cpucaps,
int    n,
const int *    on,
int *    firstsel,
int *    lastsel,
int *    selected
 

Definition at line 545 of file util_simd.C.

References analyze_selection_aligned_avx, analyze_selection_aligned_avx2, CPU_AVX, CPU_AVX2, find_first_selection_aligned, find_last_selection_aligned, wkf_cpu_caps_struct::flags, n, NULL, and vec_add.

int find_first_selection_aligned int    n,
const int *    on,
int *    firstsel
 

Definition at line 282 of file util_simd.C.

References n.

int find_last_selection_aligned int    n,
const int *    on,
int *    lastsel
 

Definition at line 350 of file util_simd.C.

References n.

void minmax_1fv_aligned const float *    f,
ptrdiff_t    n,
float *    fmin,
float *    fmax
 

find min/max values for an array of floats.

Definition at line 894 of file util_simd.C.

References n.

void minmax_3fv_aligned const float *    f,
const ptrdiff_t    n3,
float *    fmin,
float *    fmax
 

Definition at line 1082 of file util_simd.C.

References z.

int minmax_selected_3fv_aligned const float *    f,
const int *    on,
const ptrdiff_t    n3,
const ptrdiff_t    firstsel,
const ptrdiff_t    lastsel,
float *    fmin,
float *    fmax
 

Definition at line 1183 of file util_simd.C.

References mask, and z.

void minmaxmean_1fv_aligned const float *    f,
ptrdiff_t    n,
float *    fmin,
float *    fmax,
float *    fmean
 

find min/max/mean values for an array of floats.

Definition at line 671 of file util_simd.C.

References n.


Generated on Fri Mar 29 02:46:53 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002