Skip to content

[Question] How to get platform and device information? #42

Open
@HamedSharifian

Description

@HamedSharifian

I have a device with 2 GPUs:

  • Intel(R) HD Graphics 520
  • NVIDIA GeForce 940MX
    GPU-Z shows that OpenCL is enabled and is working on both. I get 2 platforms when I obtain platform Ids using JOCL, but I don't know which device is in use! I wonder if I could know how can I get "device name" or its "vendor" using the platform Id?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions