logo

Crowdly

Browser

Add to Chrome

Respecto a este fragmento de código que se ha extraído de una entrega, ¿cuál es ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

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%
More questions like this

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