Skip to content

A simple OpenCL/C++ code to show the platforms info in your device

Notifications You must be signed in to change notification settings

ixiDev/OpenCLShowInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCL Info Printer

A simple OpenCL/C++ programme to show all Platforms and devices available in your Laptop

Ho to Use

clone this project or open it using CLion IDEA

Or

download this project and run the following commands in your terminal :

  • cd 'to the project dir'
  • mkdir build
  • cd build
  • cmake ..
  • ./OpenCLShowInfo

Test and Output

--------------- Platform  --------------
		Platform name : Intel(R) OpenCL
		Platform version : OpenCL 1.2 
		Platform vendor : Intel(R) Corporation
		--------------Devices------------
		Device name :        Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz
		Device type : CPU(2) 
		Device vendor : Intel(R) Corporation
		Device version : OpenCL 1.2 (Build 475)
--------------- Platform  --------------
		Platform name : Intel Gen OCL Driver
		Platform version : OpenCL 2.0 beignet 1.3
		Platform vendor : Intel
		--------------Devices------------
		Device name : Intel(R) HD Graphics IvyBridge M GT2
		Device type : GPU(4) 
		Device vendor : Intel
		Device version : OpenCL 1.2 beignet 1.3
--------------- Platform  --------------
		Platform name : Clover
		Platform version : OpenCL 1.1 Mesa 21.0.3
		Platform vendor : Mesa
		--------------Devices------------
No device found !

About

A simple OpenCL/C++ code to show the platforms info in your device

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published