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

Closed
wants to merge 1 commit into from

Conversation

unicoooorn
Copy link

@unicoooorn unicoooorn commented Sep 20, 2024

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

Number of OpenCL platforms: 1
Platform #1/1
    Platform name: Intel(R) CPU Runtime for OpenCL(TM) Applications
    Platform vendor: Intel(R) Corporation
    Devices count: 1
    Device ID: 0x55cffc4e6b78
        Device name: Intel Xeon Processor (Icelake)
        Device type: CPU
        Device global memory size: 4101
        Device max compute units: 2
        Device max work group size: 8192

Вывод Github CI

Number of OpenCL platforms: 1
Platform #1/1
    Platform name: Intel(R) CPU Runtime for OpenCL(TM) Applications
    Platform vendor: Intel(R) Corporation
    Devices count: 1
    Device ID: 0x55d1caf00fe8
        Device name: AMD EPYC 7763 64-Core Processor                
        Device type: CPU
        Device global memory size: 16768
        Device max compute units: 4
        Device max work group size: 8192

@unicoooorn
Copy link
Author

добавил вывод GitHub CI


cl_ulong global_mem_size_in_bytes;
OCL_SAFE_CALL(clGetDeviceInfo(cur_id, CL_DEVICE_GLOBAL_MEM_SIZE, 8, &global_mem_size_in_bytes, NULL));
std::cout << " Device global memory size: " << global_mem_size_in_bytes / 1000000 << std::endl;
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 22, 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