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 #25

Closed
wants to merge 2 commits into from

Conversation

kondaevnil
Copy link

@kondaevnil kondaevnil commented Sep 20, 2024

$ ./aplusb
Data generated for n=100000000!
Log:
(): Warning: Function aplusb is a kernel, so overriding noinline attribute. The function may be inlined when called.


Kernel average time: 0.011+-2.32831e-10 s
GFlops: 9.09091
VRAM bandwidth: 101.599 GB/s
Result data transfer time: 0.0595833+-0.000493007 s
VRAM -> RAM bandwidth: 6.25224 GB/s

Вывод Github CI

$ ./build/aplusb
Data generated for n=100000000!
Log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel  was successfully vectorized (8)
Done.
Kernel average time: 0.0325312+-0.000236962 s
GFlops: 3.07398
VRAM bandwidth: 34.3544 GB/s
Result data transfer time: 4.41667e-06+-4.93007e-07 s
VRAM -> RAM bandwidth: 8.4346.2 GB/s


clReleaseKernel(kernel);
clReleaseProgram(program);
clReleaseContext(context);
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