file_path stringlengths 19 84 | content stringlengths 235 1.29M |
|---|---|
./openacc-vv/parallel_scalar_default_firstprivate.c | #include "acc_testsuite.h"
#ifndef T1
//T1:parallel,data,data-region,default-mapping,V:2.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(n * sizeof(real_t));
real_t * b = (real_t *)malloc(n * sizeof(real_t));
real_t scalar = rand() / (real_t)(RAND_MAX / 10);
real_t sca... |
./openacc-vv/atomic_capture_assign_expr_minus_x.F90 | RECURSIVE FUNCTION IS_POSSIBLE_2(a, b, length, init) RESULT(POSSIBLE)
INTEGER, INTENT(IN) :: length
REAL(8), INTENT(IN) :: init
REAL(8),DIMENSION(length), INTENT(IN) :: a
REAL(8),DIMENSION(length), INTENT(IN) :: b
REAL(8),DIMENSION(length - 1) :: passed_a
REAL(8),DI... |
./openacc-vv/serial_loop_reduction_or_loop.c | #include "acc_testsuite.h"
#ifndef T1
//T1:serial,loop,reduction,combined-constructs,V:2.6-3.2
int test1(){
int err = 0;
srand(SEED);
char * a = (char *)malloc(10 * n * sizeof(char));
char * a_copy = (char *)malloc(10 * n * sizeof(char));
char * results = (char *)malloc(10 * sizeof(char));
char ... |
./openacc-vv/atomic_expr_divided_x_end.F90 | RECURSIVE FUNCTION IS_POSSIBLE(subset, destination, length, init) RESULT(POSSIBLE)
INTEGER, INTENT(IN) :: length
REAL(8),DIMENSION(length), INTENT(IN) :: subset
REAL(8), INTENT(IN) :: destination
REAL(8), INTENT(IN) :: init
REAL(8),ALLOCATABLE :: passed(:)
LOGICAL :... |
./openacc-vv/shutdown_device_num.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:shutdown,runtime,syntactic,V:2.5-2.7
int test1(){
int err = 0;
srand(SEED);
int device_num;
device_num = acc_get_device_num(acc_get_device_type());
#pragma acc shutdown device_num(device_num)
return err;
}
#endif
int main(){
int failcode = 0;
... |
./openacc-vv/atomic_structured_x_rshift_expr_assign.cpp | #include "acc_testsuite.h"
bool is_possible(unsigned int a, unsigned int* b, int length, unsigned int prev){
if (length == 0){
return true;
}
unsigned int passed_a = 0;
unsigned int *passed_b = (unsigned int *)malloc((length - 1) * sizeof(unsigned int));
for (int x = 0; x < length; ++x){
... |
./SPEChpc/benchspec/HPC/634.hpgmgfv_s/src/operators/exchange_boundary.c | //------------------------------------------------------------------------------------------------------------------------------
// Samuel Williams
// SWWilliams@lbl.gov
// Lawrence Berkeley National Lab
//------------------------------------------------------------------------------------------------------------------... |
./openacc-vv/parallel_loop_reduction_max_loop.c | #include "acc_testsuite.h"
#ifndef T1
//T1:parallel,loop,reduction,combined-constructs,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(10 * n * sizeof(real_t));
real_t * b = (real_t *)malloc(10 * n * sizeof(real_t));
real_t * c = (real_t *)malloc(10 * n * sizeof(real_t... |
./SPECaccel/benchspec/ACCEL/351.palm/src/parin.F90 | SUBROUTINE parin
!--------------------------------------------------------------------------------!
! This file is part of PALM.
!
! PALM is free software: you can redistribute it and/or modify it under the terms
! of the GNU General Public License as published by the Free Software Foundation,
! either version 3 of t... |
./openacc-vv/atomic_multiply_equals.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:atomic,construct-independent,V:2.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t *a = new real_t[n];
real_t *b = new real_t[n];
real_t *totals = new real_t[(n/10 + 1)];
real_t *totals_comparison = new real_t[(n/10 + 1)];
for (int x = 0; x < n; ... |
./openacc-vv/set_device_type_nvidia.F90 | #ifndef T1
!T1:runtime,construct-independent,internal-control-values,set,V:2.5-2.7
LOGICAL FUNCTION test1()
USE OPENACC
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: errors = 0
!$acc set device_type(nvidia)
IF (errors .eq. 0) THEN
test1 = .FALSE.
... |
./openacc-vv/acc_unmap_data.F90 | #ifndef T1
!T1:runtime,data,executable-data,construct-independent,V:3.3
LOGICAL FUNCTION test1()
USE OPENACC
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
REAL(8),DIMENSION(LOOPCOUNT) :: a, b, c, d, e !Data
INTEGER :: errors = 0
INTEGER :: x,i
!Initilization
... |
./openacc-vv/atomic_update_expr_rshift_x.c | #include "acc_testsuite.h"
#ifndef T1
//T1:atomic,construct-independent,V:2.0-2.7
int test1(){
int err = 0;
srand(SEED);
unsigned int *a = (unsigned int *)malloc(3 * n * sizeof(int));
unsigned int *b = (unsigned int *)malloc(n * sizeof(int));
int orders[18] = {1, 2, 0, 1, 0, 2, 2, 1, 0, 2, 0, 1, 0, ... |
./SPECaccel/benchspec/ACCEL/552.pep/src/ep.c | //-------------------------------------------------------------------------//
// //
// This benchmark is a serial C version of the NPB EP code. This C //
// version is developed by the Center for Manycore Programming at Seoul //
// Nati... |
./openacc-vv/parallel_scalar_default_firstprivate.F90 | #ifndef T1
!T1:parallel,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x !Iterators
REAL(8),DIMENSION(LOOPCOUNT):: a, b !Data
REAL(8),DIMENSION(1):: random
INTEGER :: errors = 0
REAL(8) :: scalar
REAL(8) :: sca... |
./SPECaccel/benchspec/ACCEL/304.olbm/src/main.c | /* $Id: main.c,v 1.4 2004/04/21 04:23:43 pohlt Exp $ */
/*############################################################################*/
#include "main.h"
#include "lbm.h"
#include <stdio.h>
#include <stdlib.h>
#if defined(SPEC)
# include <time.h>
#else
# include <sys/times.h>
# include <unistd.h>
#endif
#inc... |
./openacc-vv/kernels_num_workers.F90 | #ifndef T1
!T1:kernels,V:2.5-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x !Iterators
REAL(8),DIMENSION(LOOPCOUNT):: a, b !Data
INTEGER :: errors = 0
!Initilization
SEEDDIM(1) = 1
# ifdef SEED
SEEDDIM(1) = ... |
./PhysiCell_GPU/sample_projects/cancer_biorobots/config/PhysiCell_settings.xml | <?xml version="1.0" encoding="UTF-8"?>
<!--
/*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... |
./openacc-vv/atomic_structured_assign_expr_divided_x.c | #include "acc_testsuite.h"
bool is_possible_2(real_t* a, real_t* b, int length, real_t prev, real_t destination){
if (length == 0){
return abs(prev - destination) < PRECISION;
}
real_t *passed_a = (real_t *)malloc((length - 1) * sizeof(real_t));
real_t *passed_b = (real_t *)malloc((length - 1) *... |
./openacc-vv/acc_get_num_devices.c | #include "acc_testsuite.h"
#ifndef T1
//T1:runtime,devonly,internal-control-values,syntactic,V:1.0-2.7
int test1(){
int err = 0;
if(acc_get_device_type() != acc_device_none && acc_get_num_devices(acc_get_device_type()) == 0){ //Can't have zero of current device type
err += 1;
}
return err;
}... |
./openacc-vv/parallel_loop_gang.F90 | #ifndef T1
!T1:parallel,combined-constructs,loop,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x !Iterators
REAL(8),DIMENSION(LOOPCOUNT):: a, b, c !Data
INTEGER :: errors = 0
!Initilization
SEEDDIM(1) = 1
# ifd... |
./MURaM_main/src/solver.C | #include "physics.H"
#include <mpi.h>
#include <fstream>
#include <cmath>
#include <string.h>
#include <stdio.h>
#include <iostream>
#include <limits>
#include "solver.H"
#include "divB.H"
#include "exchange.H"
#include "mhd_tvd.H"
#include "limit_va.H"
#include "src_int_tck.H"
#include "rt.H"
#include "analysis.H"
#in... |
./PhysiCell_GPU/unit_tests/substrate_internalization/unit_test_conservation.cpp | /*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... |
./PhysiCell_GPU/documentation/User_Guide.tex | \documentclass[12pt]{article}
\newcommand{\Version}{1.6.0}
\newcommand{\ReleaseDate}{August 20, 2019}
\usepackage[letterpaper,margin=0.5in,bottom=0.75in]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{dsfont}
\usepackage{bbm}
\usepackage{stmaryrd}
\usepackage{graphicx}
\usepackage{pbox}
\usepackage{... |
./SPECaccel/benchspec/ACCEL/351.palm/src/prognostic_equations.F90 | MODULE prognostic_equations_mod
!--------------------------------------------------------------------------------!
! This file is part of PALM.
!
! PALM is free software: you can redistribute it and/or modify it under the terms
! of the GNU General Public License as published by the Free Software Foundation,
! either... |
./SPEChpc/benchspec/HPC/621.miniswp_s/src/1_base/env_mpi.c | /*---------------------------------------------------------------------------*/
/*!
* \file env_mpi.c
* \author Wayne Joubert
* \date Wed Jan 15 16:06:28 EST 2014
* \brief Environment settings for MPI.
* \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
/*------------------------... |
./SPEChpc/Docs/config.html | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Config Files - SPEChpc 2021</title>
<!-- $Id$ -->... |
./openacc-vv/kernels_loop_reduction_bitxor_general.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:kernels,loop,reduction,combined-constructs,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
unsigned int * a = (unsigned int *)malloc(n * sizeof(unsigned int));
unsigned int b = 0;
for (int x = 0; x < n; ++x){
a[x] = (unsigned int) rand() / (real_t... |
./openacc-vv/parallel_loop_reduction_min_general.c | #include "acc_testsuite.h"
#ifndef T1
//T1:parallel,loop,reduction,combined-constructs,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(n * sizeof(real_t));
real_t * b = (real_t *)malloc(n * sizeof(real_t));
real_t min = 1000.0;
int found = 0;
for (int x = 0; ... |
./openacc-vv/atomic_update_x_or_expr.F90 | #ifndef T1
!T1:construct-independent,atomic,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(LOOPCOUNT, 10):: randoms
LOGICAL,DIMENSION(LOOPCOUNT, 10):: a !Data
LOGICAL,DIMENSION(LOOPCOUNT):: to... |
./openacc-vv/atomic_structured_bitand_equals_assign.c | #include "acc_testsuite.h"
bool is_possible(int* a, int* b, int length, int prev){
if (length == 0){
return true;
}
int *passed_a = (int *)malloc((length - 1) * sizeof(int));
int *passed_b = (int *)malloc((length - 1) * sizeof(int));
for (int x = 0; x < length; ++x){
if (b[x] == (pre... |
./openacc-vv/acc_update_device.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:runtime,data,executable-data,construct-independent,V:2.0-2.7
int test1(){
int err = 0;
real_t *a = new real_t[n];
real_t *b = new real_t[n];
real_t *c = new real_t[n];
int *devtest = (int *)malloc(sizeof(int));
devtest[0] = 1;
#pragma acc enter dat... |
./openacc-vv/shutdown_device_type.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:shutdown,runtime,syntactic,V:2.5-3.2
int test1(){
int err = 0;
#pragma acc shutdown device_type(host)
return err;
}
#endif
#ifndef T2
//T2:shutdown,runtime,syntactic,V:2.5-3.2
int test2(){
int err = 0;
#pragma acc shutdown device_type(multicore)
ret... |
./PhysiCell_GPU/sample_projects/virus_macrophage/main-virus_macrophage.cpp | /*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... |
./openacc-vv/acc_copyin_async_with_len.F90 | #ifndef T1
!T1:runtime,data,executable-data,async,construct-independent,V:2.5-2.7
LOGICAL FUNCTION test1()
USE OPENACC
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x !Iterators
REAL(8),DIMENSION(LOOPCOUNT):: a, b, c, a_host, b_host !Data
INTEGER :: errors
... |
./openacc-vv/acc_memcpy_to_device.c | #include "acc_testsuite.h"
#ifndef T1
//T1:runtime,data,executable-data,construct-independent,V:2.0-2.7
int test1(){
int err = 0;
real_t *a = (real_t *)malloc(n * sizeof(real_t));
real_t *b = (real_t *)malloc(n * sizeof(real_t));
real_t *c = (real_t *)malloc(n * sizeof(real_t));
real_t *hostdata = (... |
./openacc-vv/atomic_capture_iand_x_expr_assign.F90 | RECURSIVE FUNCTION IS_POSSIBLE(a, b, length, init) RESULT(POSSIBLE)
INTEGER, INTENT(IN) :: length
INTEGER, INTENT(IN) :: init
INTEGER,DIMENSION(length), INTENT(IN) :: a
INTEGER,DIMENSION(length), INTENT(IN) :: b
INTEGER,DIMENSION(length - 1) :: passed_a
INTEGER,DIMENSION(length - 1) :: passed_b
INTEGER ::... |
./openacc-vv/routine_bind_prototype_function_nonstring_lambda.cpp | #include "acc_testsuite.h"
//test 1 host function
real_t host_array_array(real_t * a, long long n){
#pragma acc loop reduction(+:returned)
real_t returned = 0.0;
for (int x = 0; x < n; ++x){
returned += a[x];
}
return returned;
}
//test 2 host function
real_t host_object_array(data_contain... |
./openacc-vv/atomic_expr_minus_x_end.F90 | RECURSIVE FUNCTION IS_POSSIBLE(subset, destination, length, init) RESULT(POSSIBLE)
INTEGER, INTENT(IN) :: length
REAL(8),DIMENSION(length), INTENT(IN) :: subset
REAL(8), INTENT(IN) :: destination
REAL(8), INTENT(IN) :: init
REAL(8),ALLOCATABLE :: passed(:)
LOGICAL :... |
./openacc-vv/parallel_loop_reduction_bitor_loop.F90 | #ifndef T1
!T1:parallel,private,reduction,combined-constructs,loop,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y, z, i !Iterators
INTEGER,DIMENSION(10*LOOPCOUNT):: a, b, b_copy !Data
REAL(8),DIMENSION(10*LOOPCOUNT):: randoms2
... |
./openacc-vv/atomic_update_min_x_expr.F90 | #ifndef T1
!T1:construct-independent,atomic,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(LOOPCOUNT):: a !Data
REAL(8),DIMENSION(LOOPCOUNT/10 + 1):: totals, totals_comparison
INTEGER :: error... |
./SPECaccel/tools/src/tar-1.25/gnu/regcomp.c | /* -*- buffer-read-only: t -*- vi: set ro: */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Extended regular expression matching and search library.
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Isamu... |
./openacc-vv/serial_loop_vector_blocking.c | #include "acc_testsuite.h"
#ifndef T1
//T1:serial,loop,V:2.6-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(n * sizeof(real_t));
real_t * b = (real_t *)malloc(n * sizeof(real_t));
real_t * c = (real_t *)malloc(n * sizeof(real_t));
real_t multiplyer = 1;
for (int x = 0; x < n; ++... |
./openacc-vv/parallel_async.c | #include "acc_testsuite.h"
#ifndef T1
//T1:parallel,async,wait,V:2.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(n * sizeof(real_t));
real_t * b = (real_t *)malloc(n * sizeof(real_t));
real_t * c = (real_t *)malloc(n * sizeof(real_t));
real_t * d = (real_t *)malloc(n... |
./openacc-vv/atomic_update_x_divided_expr_end.F90 | #ifndef T1
!T1:construct-independent,atomic,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(LOOPCOUNT, 10):: a !Data
REAL(8),DIMENSION(LOOPCOUNT):: totals, totals_comparison
INTEGER :: errors =... |
./openacc-vv/acc_wait_async.c | #include "acc_testsuite.h"
#ifndef T1
//T1:runtime,async,construct-independent,wait,V:2.0-2.7
int test1(){
int err = 0;
real_t *a = (real_t *)malloc(n * sizeof(real_t));
real_t *b = (real_t *)malloc(n * sizeof(real_t));
real_t *c = (real_t *)malloc(n * sizeof(real_t));
real_t *d = (real_t *)malloc(n... |
./openacc-vv/kernels_loop_reduction_bitxor_loop.c | #include "acc_testsuite.h"
#ifndef T1
//T1:kernels,loop,reduction,combined-constructs,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
unsigned int * a = (unsigned int *)malloc(10 * n * sizeof(unsigned int));
unsigned int * b = (unsigned int *)malloc(10 * n * sizeof(unsigned int));
unsigned int * b_... |
./openacc-vv/acc_unmap_data.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:runtime,data,executable-data,construct-independent,V:2.0-2.7
int test1(){
int err = 0;
real_t *a = new real_t[n];
real_t *b = new real_t[n];
real_t *c = new real_t[n];
real_t *d;
real_t *e = new real_t[n];
d = (real_t *)acc_malloc(n * sizeof(real_t... |
./openacc-vv/serial_create_zero.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:serial,data,data-region,V:3.0-3.2
int test1(){
int err = 0;
srand(SEED);
real_t * a = new real_t[n];
real_t * b = new real_t[n];
for (int x = 0; x < n; ++x){
a[x] = rand() / (real_t)(RAND_MAX / 10);
b[x] = 1;
}
#pragma acc data cop... |
./openacc-vv/data_with_derived_type.F90 | #ifndef T1
!T1:data,data_region,construct-independent,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
TYPE multi_item
REAL(8) :: a
REAL(8) :: b
REAL(8) :: c
END TYPE multi_item
INTEGER :: x !Iterators
TYPE (m... |
./openacc-vv/kernels_loop_reduction_or_general.F90 | #ifndef T1
!T1:kernels,reduction,combined-constructs,loop,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x !Iterators
LOGICAL,DIMENSION(LOOPCOUNT):: a !Data
LOGICAL :: results = .FALSE.
LOGICAL :: temp = .FALSE.
REAL(8... |
./openacc-vv/serial_create.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:serial,data,data-region,V:2.6-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = new real_t[n];
real_t * b = new real_t[n];
real_t * c = new real_t[n];
for (int x = 0; x < n; ++x){
a[x] = rand() / (real_t)(RAND_MAX / 10);
b[x] = 0.... |
./openacc-vv/acc_wait_any.c | #include "acc_testsuite.h"
#ifndef T1
//T1:runtime,async,wait,V:3.2-3.3
int test1() {
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(n * sizeof(real_t));
real_t * b = (real_t *)malloc(n * sizeof(real_t));
real_t * c = (real_t *)malloc(n * sizeof(real_t));
for (int x = 0; x < n; ++x)... |
./MURaM_main/src/Add_Sources_Integrate_SR.C | #include <mpi.h>
#include <cmath>
#include <stdlib.h>
#include <string.h>
#include "physics.H"
#include "grid.H"
#include "run.H"
#include "comm_split.H"
#include "src_int_tck.H"
#include "limit_va.H"
#include "exchange.H"
#include <stdio.h>
#include "ACCH.h"
#define XZ_LOOP(G,i,k) \
for((k)=(G).lbeg[2];(k)<=(G).len... |
./openacc-vv/parallel_private.F90 | #ifndef T1
!T1:parallel,private,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(10 * LOOPCOUNT):: a, b !Data
REAL(8),DIMENSION(LOOPCOUNT):: c
REAL(8),DIMENSION(10)::d
REAL(8) :: temp
... |
./openacc-vv/atomic_structured_plus_equals_assign.c | #include "acc_testsuite.h"
bool is_possible(real_t* a, real_t* b, int length, real_t prev){
if (length == 0){
return true;
}
real_t *passed_a = (real_t *)malloc((length - 1) * sizeof(real_t));
real_t *passed_b = (real_t *)malloc((length - 1) * sizeof(real_t));
for (int x = 0; x < length; ++... |
./openacc-vv/acc_malloc.F90 | #ifndef T1
!T1:runtime,construct-independent,internal-control-values,init,nonvalidating,V:3.3
LOGICAL FUNCTION test1()
USE OPENACC
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
REAL(8),DIMENSION(LOOPCOUNT):: initial_memory, final_memory !Data
INTEGER, POINTER :: a(:)
INT... |
./SPECaccel/benchspec/ACCEL/551.ppalm/data/test/output/RUN_CONTROL |
****************************** ------------------------------------------
* PALM 3.9 Rev: * atmosphere - 3D - run without 1D - prerun
****************************** ------------------------------------------
Date: Run: acc_small
Time: ... |
./openacc-vv/serial_loop_reduction_or_vector_loop.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:serial,loop,reduction,combined-constructs,V:2.6-2.7
int test1(){
int err = 0;
srand(SEED);
char * a = new char[10 * n];
char * b = new char[10];
real_t false_margin = pow(exp(1), log(.5)/n);
char temp = 0;
char found;
for (int x = 0; x < 10 * n... |
./openacc-vv/serial_create.F90 | #ifndef T1
!T1:serial,V:2.6-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER:: errors
REAL(8),DIMENSION(LOOPCOUNT):: a, b, c
INTEGER:: x
errors = 0
SEEDDIM(1) = 1
# ifdef SEED
SEEDDIM(1) = SEED
# endif
CALL RANDOM_SEED(PUT=SEEDDIM)
CALL RANDOM_NUMBER(a)
b = 0
... |
./PhysiCell_GPU/custom_modules/cancer_immune_3D.cpp | /*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... |
./openacc-vv/parallel_default_present.c | #include "acc_testsuite.h"
#ifndef T1
//T1:parallel,default,data,data-region,V:2.5-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(n * sizeof(real_t));
for (int x = 0; x < n; ++x){
a[x] = 0.0;
}
#pragma acc enter data copyin(a[0:n])
#pragma acc parallel defa... |
./openacc-vv/atomic_capture_predecrement.c | #include "acc_testsuite.h"
#ifndef T1
//T1:atomic,construct-independent,V:2.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t *a = (real_t *)malloc(n * sizeof(real_t));
real_t *b = (real_t *)malloc(n * sizeof(real_t));
int *c = (int *)malloc(n * sizeof(int));
int *distribution = (int *)malloc(... |
./openacc-vv/shutdown_device_type_num_nvidia.c | #include "acc_testsuite.h"
#ifndef T1
//T1:shutdown,runtime,syntactic,V:2.5-2.7
int test1(){
int err = 0;
int device_num;
device_num = acc_get_device_num(acc_get_device_type());
#pragma acc shutdown device_type(nvidia) device_num(device_num)
return err;
}
#endif
int main(){
int failcode = 0;
... |
./openacc-vv/parallel.F90 | #ifndef T1
!T1:parallel,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, i_a, i_b, i_c, i_d, i_e, i_f, i_g, i_h, i_i, i_j !Iterators
INTEGER, PARAMETER :: PRIVATE_LOOPCOUNT = 1024
REAL(8),DIMENSION(PRIVATE_LOOPCOUNT):: a, b, c !Data
... |
./openacc-vv/init.F90 | #ifndef T1
!T1:construct-independent,init,nonvalidating,V:2.5-2.7
LOGICAL FUNCTION test1()
USE OPENACC
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: errors = 0
!$acc init
IF (errors .eq. 0) THEN
test1 = .FALSE.
ELSE
test1 = .TRUE.... |
./openacc-vv/atomic_capture_bitand_equals.c | #include "acc_testsuite.h"
bool is_possible(int* a, int* b, int length, int prev){
if (length == 0){
return true;
}
int *passed_a = (int *)malloc((length - 1) * sizeof(int));
int *passed_b = (int *)malloc((length - 1) * sizeof(int));
for (int x = 0; x < length; x++){
if (b[x] == (a[x... |
./openacc-vv/atomic_capture_max_x_expr_assign.F90 | RECURSIVE FUNCTION IS_POSSIBLE(a, b, length, init) RESULT(POSSIBLE)
INTEGER, INTENT(IN) :: length
REAL(8), INTENT(IN) :: init
REAL(8),DIMENSION(length), INTENT(IN) :: a
REAL(8),DIMENSION(length), INTENT(IN) :: b
REAL(8),DIMENSION(length - 1) :: passed_a
REAL(8),DIMENSION(length - 1) :: passed_b
REAL(8) ::... |
./openacc-vv/init_device_num.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:init,runtime,V:2.5-2.7
int test1(){
int err = 0;
srand(SEED);
int device_num = acc_get_device_num(acc_get_device_type());
#pragma acc init device_num(device_num)
return err;
}
#endif
int main(){
int failcode = 0;
int failed;
#ifndef T1
failed... |
./PhysiCell_GPU/sample_projects/cancer_immune/main-cancer_immune_3D.cpp | /*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... |
./openacc-vv/acc_map_data.F90 | #ifndef T1
!T1:runtime,data,executable-data,construct-independent,V:3.3
LOGICAL FUNCTION test1()
USE OPENACC
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
REAL(8),DIMENSION(LOOPCOUNT):: a, b, c, d, e !Data
INTEGER :: errors = 0
INTEGER :: x,i
!Initilization
... |
./openacc-vv/parallel_copy.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:parallel,data,data-region,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = new real_t[n];
real_t * a_host = new real_t[n];
for (int x = 0; x < n; ++x){
a[x] = rand() / (real_t)(RAND_MAX / 10);
a_host[x] = a[x];
}
#prag... |
./openacc-vv/kernels_default_copy.c | #include "acc_testsuite.h"
#ifndef T1
//T1:kernels,data-region,default-mapping,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(n * sizeof(real_t));
real_t * b = (real_t *)malloc(n * sizeof(real_t));
real_t c[n];
for (int x = 0; x < n; ++x){
a[x] = rand() /... |
./openacc-vv/parallel_loop_independent_reduction.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:parallel,reduction,V:2.7-3.2
int test1(){
int err = 0;
srand(SEED);
real_t * a = new real_t[n];
real_t reduction;
for (int x = 0; x < n; ++x){
a[x] = rand() / (real_t)(RAND_MAX / 10);
}
#pragma acc parallel copyin(a[0:n]) reduction(+:reduc... |
./openacc-vv/kernels_create_zero.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:kernels,data,data-region,V:3.0-3.2
int test1(){
int err = 0;
srand(SEED);
real_t * a = new real_t[n];
real_t * b = new real_t[n];
for (int x = 0; x < n; ++x){
a[x] = rand() / (real_t)(RAND_MAX / 10);
b[x] = 0.0;
}
#pragma acc data copy... |
./openacc-vv/atomic_max_expr_x.F90 | #ifndef T1
!T1:construct-independent,atomic,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(LOOPCOUNT):: a !Data
REAL(8),DIMENSION(LOOPCOUNT/10 + 1):: totals, totals_comparison
INTEGER :: error... |
./openacc-vv/atomic_x_divided_expr_end.F90 | #ifndef T1
!T1:construct-independent,atomic,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(LOOPCOUNT, 10):: a !Data
REAL(8),DIMENSION(LOOPCOUNT):: totals, totals_comparison
INTEGER :: errors =... |
./openacc-vv/set_device_type_num_nvidia.c | #include "acc_testsuite.h"
#ifndef T1
//T1:set,runtime,syntactic,V:2.5-3.2
int test1(){
int err = 0;
int device_num;
device_num = acc_get_device_num(acc_get_device_type());
#pragma acc set device_type(nvidia) device_num(device_num)
return err;
}
#endif
int main(){
int fai... |
./openacc-vv/atomic_capture_expr_bitor_x.c | #include "acc_testsuite.h"
bool is_possible(int* a, int* b, int length, int prev){
if (length == 0){
return true;
}
int *passed_a = (int *)malloc((length - 1) * sizeof(int));
int *passed_b = (int *)malloc((length - 1) * sizeof(int));
for (int x = 0; x < length; ++x){
if (b[x] == (a[x... |
./openacc-vv/shutdown_if.c | #include "acc_testsuite.h"
#ifndef T1
//T1:shutdown,if,V:2.7-3.3
int test1(){
int err = 0;
srand(SEED);
int device_num;
device_num = acc_get_device_num(acc_get_device_type());
#pragma acc shutdown if(device_num == device_num)
return err;
}
#endif
#ifndef T2
//T2:shutdown,if,V:2.7-3.3
int test2(){
int err = 0;... |
./openacc-vv/acc_set_device_type.F90 | #ifndef T1
!T1:runtime,construct-independent,internal-control-values,set,V:1.0-2.7
LOGICAL FUNCTION test1()
USE OPENACC
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: errors = 0
INTEGER :: device_type
device_type = acc_get_device_type()
CALL acc_set_de... |
./openacc-npb/LU/LU-HP/erhs.c | //-------------------------------------------------------------------------//
// //
// This benchmark is a serial C version of the NPB LU code. This C //
// version is developed by the Center for Manycore Programming at Seoul //
// Nati... |
./openacc-vv/parallel_loop_reduction_bitxor_general.F90 | #ifndef T1
!T1:parallel,reduction,combined-constructs,loop,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x !Iterators
INTEGER,DIMENSION(LOOPCOUNT):: a !Data
REAL(8),DIMENSION(LOOPCOUNT):: randoms
INTEGER :: errors = 0
... |
./openacc-vv/kernels_loop_reduction_add_vector_loop.F90 | #ifndef T1
!T1:kernels,private,reduction,combined-constructs,loop,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(10*LOOPCOUNT):: a, b !Data
REAL(8),DIMENSION(10) :: c
REAL(8) :: temp
I... |
./openacc-vv/atomic_structured_assign_x_rshift_expr.c | #include "acc_testsuite.h"
bool is_possible(unsigned int a, unsigned int* b, int length, unsigned int prev){
if (length == 0){
return true;
}
unsigned int passed_a = 0;
unsigned int *passed_b = (unsigned int *)malloc((length - 1) * sizeof(unsigned int));
for (int x = 0; x < length; ++x){
... |
./openacc-vv/atomic_update_x_times_expr_end.F90 | #ifndef T1
!T1:construct-independent,atomic,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(LOOPCOUNT, 10):: a !Data
REAL(8),DIMENSION(LOOPCOUNT):: totals, totals_comparison
INTEGER :: errors =... |
./SPEChpc/Docs/changes-in-v1.1.html | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>SPEChpc: Changes in V1.1</title>
<!-- $Id: changes-in-v1.1.html 6161 2008-05-13 14:00:38Z john $ -->
<link ... |
./openacc-vv/serial_loop_auto.F90 | #ifndef T1
!T1:serial,combined-constructs,loop,auto,V:2.6-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER:: errors
REAL(8),DIMENSION(LOOPCOUNT):: a, a_copy, b
INTEGER:: x
REAL(8):: temp
errors = 0
SEEDDIM(1) = 1
# ifdef SEED
SEEDDIM(1) = SEED
# endif
CALL RANDOM_... |
./openacc-vv/kernels_loop_reduction_bitor_vector_loop.c | #include "acc_testsuite.h"
#ifndef T1
//T1:kernels,loop,reduction,combined-constructs,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
unsigned int* a = (unsigned int *)malloc(10 * n * sizeof(unsigned int));
unsigned int* b = (unsigned int *)malloc(10 * sizeof(unsigned int));
real_t false_margin = ... |
./openacc-vv/atomic_update_expr_or_x_end.F90 | #ifndef T1
!T1:construct-independent,atomic,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y !Iterators
REAL(8),DIMENSION(LOOPCOUNT, 10):: randoms
LOGICAL,DIMENSION(LOOPCOUNT, 10):: a !Data
LOGICAL,DIMENSION(LOOPCOUNT):: to... |
./openacc-vv/data_copyout_zero.c | #include "acc_testsuite.h"
#ifndef T1
//T1:data,executable-data,data-region,V:3.0-3.2
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(n * sizeof(real_t));
real_t * b = (real_t *)malloc(n * sizeof(real_t));
for (int x = 0; x < n; ++x){
a[x] = rand() / (real_t)(RAND_MAX... |
./openacc-vv/atomic_update_rshift_equals.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:atomic,construct-independent,V:2.0-2.7
int test1(){
int err = 0;
srand(SEED);
unsigned int *a = (unsigned int *)malloc(n * sizeof(int));
unsigned int *b = (unsigned int *)malloc(n * sizeof(int));
for (int x = 0; x < n; ++x){
a[x] = 1<<7;
fo... |
./openacc-vv/atomic_structured_minus_equals_assign.cpp | #include "acc_testsuite.h"
bool is_possible(real_t* a, real_t* b, int length, real_t prev){
if (length == 0){
return true;
}
real_t *passed_a = new real_t[(length - 1)];
real_t *passed_b = new real_t[(length - 1)];
for (int x = 0; x < length; ++x){
if (fabs(b[x] - (prev - a[x])) < PR... |
./openacc-vv/serial_loop_reduction_add_general.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:serial,loop,reduction,combined-constructs,V:2.6-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = new real_t[n];
real_t * b = new real_t[n];
real_t total = 10;
for (int x = 0; x < n; ++x){
a[x] = rand() / (real_t)(RAND_MAX / 10);
... |
./openacc-vv/kernels_loop_worker_blocking.F90 | #ifndef T1
!T1:kernels,loop,V:1.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x !Iterators
REAL(8),DIMENSION(LOOPCOUNT):: a, b, c !Data
REAL(8) :: RAND
REAL(8) :: multiplier
INTEGER :: errors = 0
multiplier = 1
... |
./openacc-vv/set_device_type.F90 | #ifndef T1
!T1:runtime,construct-independent,internal-control-values,set,V:2.5-3.2
LOGICAL FUNCTION test1()
USE OPENACC
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: errors = 0
!$acc set device_type(host)
IF (errors .eq. 0) THEN
test1 = .FALSE.
... |
./openacc-vv/parallel_async.F90 | #ifndef T1
!T1:async,parallel,update,V:2.0-2.7
LOGICAL FUNCTION test1()
IMPLICIT NONE
INCLUDE "acc_testsuite.Fh"
INTEGER :: x, y, z !Iterators
REAL(8),DIMENSION(LOOPCOUNT):: a, b, c, d, e, f, g !Data
INTEGER :: errors = 0
!Initilization
SEEDDIM(1) = 1
# ... |
./openacc-vv/acc_get_property.cpp | #include "acc_testsuite.h"
#ifndef T1
//T1:runtime,devonly,syntactic,V:2.6-2.7
int test1(){
int err = 0;
if (acc_get_device_type() != acc_device_none){
const char* returned_string1;
const char* returned_string2;
const char* returned_string3;
int returned_int;
returned_in... |
./SPEChpc/benchspec/HPC/621.miniswp_s/src/3_sweeper/sweeper_kba_c_kernels.h | /*---------------------------------------------------------------------------*/
/*!
* \file sweeper_kba_c_kernels.h
* \author Wayne Joubert
* \date Tue Jan 28 16:37:41 EST 2014
* \brief sweeper_kba_c, code for comp. kernel.
* \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
/*--... |
./PhysiCell_GPU/modules/PhysiCell_settings.h | /*
###############################################################################
# If you use PhysiCell in your project, please cite PhysiCell and the version #
# number, such as below: #
# ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.