logo

Crowdly

Browser

Add to Chrome

COMPUTACIÓN DE ALTAS PRESTACIONES

Looking for COMPUTACIÓN DE ALTAS PRESTACIONES test answers and solutions? Browse our comprehensive collection of verified answers for COMPUTACIÓN DE ALTAS PRESTACIONES at moodle.uam.es.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Un kernel en GPU se declara como una función...

0%
0%
0%
100%
View this question
Al ejecutar el programa deviceQuery disponible en el ejemplo de Setup para Colab que se proporciona, se obtiene el siguiente resultado:

Para esta GPU se podrá lanzar un kernel con...

100%
0%
0%
0%
View this question
Las siguientes líneas de código son del programa MatMultF.cu 

En la ejecución del kernel con N=32,

matrixMultiplicationKernel<<<blocksPerGrid,threadsPerBlock>>>(d_a, d_b, d_c, N); 

0%
100%
0%
0%
View this question
Las siguientes líneas de código son del programa MatMultF.cu 

En la ejecución del kernel con N=32,

matrixMultiplicationKernel<<<blocksPerGrid,threadsPerBlock>>>(d_a, d_b, d_c, N); 

0%
0%
0%
0%
View this question

Respecto a este fragmento de código que se ha extraído de una entrega, ¿cuál es la opción correcta?

uint8_t *rgb_image = stbi_load(argv[file_i], &width, &height, &nchannels, 4); // 4 bytes/pixel. width*height pixels.

[...]

cudaMemcpy(d_rgb_image, rgb_image, width * height * sizeof(uint8_t), cudaMemcpyHostToDevice);

[...]

0%
0%
0%
0%
View this question
Se le ha proporcionado el siguiente fragmento de código:

#define N 1024
#define M 32
gettimeofday(&ini, NULL);

kernel<<<N/M,M>>>(nsimulations)
gettimeofday(&fin, NULL);

¿Cuál es el problema?

0%
0%
0%
100%
View this question

En el tutorial stencil-1d  ¿Cuál es la finalidad de la función __syncthreads();?

0%
0%
0%
0%
View this question
Al ejecutar el programa deviceQuery disponible en el ejemplo de Setup para Colab que se proporciona, se obtiene el siguiente resultado:

Para esta GPU se podrá lanzar un kernel con...

100%
0%
0%
0%
View this question
Las siguientes líneas de código son del programa MatMultF.cu 

En la ejecución del kernel con N=32,

matrixMultiplicationKernel<<<blocksPerGrid,threadsPerBlock>>>(d_a, d_b, d_c, N); 

0%
100%
0%
0%
View this question
Las siguientes líneas de código son del programa MatMultF.cu 

En la ejecución del kernel con N=32,

matrixMultiplicationKernel<<<blocksPerGrid,threadsPerBlock>>>(d_a, d_b, d_c, N); 

0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle.uam.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome