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

Task00 Валерий Мацкевич HSE #2

Closed
wants to merge 2 commits into from

Conversation

blonded04
Copy link

@blonded04 blonded04 commented Sep 14, 2024

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

$ ./enumDevices
Number of OpenCL platforms: 1
Platform #1/1
    Platform name: Portable Computing Language
    Vendor name: The pocl project
    Number of platform devices: 1
        Device name is: pthread-AMD Ryzen 5 5500U with Radeon Graphics
        Device vendor is: AuthenticAMD
        Device type is: CPU
        Device memory size is: 13334
        Device compute units is: 12

Вывод Github CI

$ ./enumDevices
Number of OpenCL platforms: 1
Platform #1/1
    Platform name: Intel(R) CPU Runtime for OpenCL(TM) Applications
    Vendor name: Intel(R) Corporation
    Number of platform devices: 1
        Device name is: AMD EPYC 7763 64-Core Processor                
        Device vendor is: Intel(R) Corporation
        Device type is: CPU
        Device memory size is: 15991
        Device compute units is: 4

Signed-off-by: Valery Matskevich <generalretcher@gmail.com>
Signed-off-by: Valery Matskevich <generalretcher@gmail.com>
} catch (std::runtime_error &e) {
std::cout << "Setting \"param_name\" argument to 239 failed, caught an exception:" << e.what() << '\n';
// На моём ноуте выводит "error code -30", что в моём cl.h соответствует "CL_INVALID_VALUE", что значит,
// согласно документации, что: "param_name is not one of the supported values"
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

simiyutin commented Sep 18, 2024

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

@simiyutin simiyutin closed this Sep 18, 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