python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
When declaring a static array as "private" before a parallel loop is perfectly equivalent to declaring the array inside the loop?
I've encountered a situation where the code generates different results in the case of having arrays defined inside the loop on index i (case #1) and in the case of declaring them outside the loop on ...
Steve
Votes: 0
Answers: 1
Running pgc++ programs on Cluster
I tried to run the below OPenACC program on cluster:
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
#pragma acc parallel loop
for (int i=0...
Krishna M.V.
Votes: 0
Answers: 1
How do I translate this ACC code to SYCL?
My question is:
I have this code:
#pragma acc parallel loop
for(i=0; i<bands; i++)
{
#pragma acc loop seq
for(j=0; j<lines_samples; j++)
r_m[i] += image_v...
gamersensual
Votes: 0
Answers: 1
How do I indicate OpenACC to sequentially execute one instruction inside a parallel loop?
I would like the 'r_m[i] /= lines_samples;' line to be executed once, by one thread I mean. Do I have to put a special pragma or do anything for the compiler to understand it?
Here is the code:
#p...
gamersensual
Votes: 0
Answers: 1