Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task01 Николай Степанов SPbU #18

Closed
wants to merge 2 commits into from

Conversation

elteammate
Copy link

Локальный вывод

$ ./aplusb
Found 0 CPUs and 1 GPUs
Using GPU: NVIDIA GeForce RTX 3070 Ti
Data generated for n=100000000!
Kernel average time: 0.00219167+-7.4549e-05 s
GFlops: 45.6274
VRAM bandwidth: 509.926 GB/s
Result data transfer time: 0.0253544+-0.000180186 s
VRAM -> RAM bandwidth: 14.6929 GB/s

Вывод Github CI

$ ./aplusb
Found 1 CPUs and 0 GPUs
Using CPU: AMD EPYC 7763 64-Core Processor                
Data generated for n=100000000!
Kernel average time: 0.036158+-0.000602295 s
GFlops: 2.76564
VRAM bandwidth: 30.9084 GB/s
Result data transfer time: 0.0213437+-0.000724353 s
VRAM -> RAM bandwidth: 17.4538 GB/s

std::cerr << "OpenCL error: " << errinfo << std::endl;
}, nullptr, &errcode_ret);
OCL_SAFE_CALL(errcode_ret);
defer(clReleaseContext(ctx));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@simiyutin
Copy link
Collaborator

Все хорошо, задача зачтена, 5/5 баллов 👍

@simiyutin simiyutin closed this Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants