Rohit Sarewar
Rohit Sarewar

Reputation: 157

platforms in OpenCL

I have Nvidia Graphics card(GeForce GT 640) ON MY MOTHERBOARD. I have installed OpenCL on my box. When I query about platform using "clGetPlatformInfo(parameters)", I see the following output:- #Available platforms: 1. #1 CL_PLATFORM_NAME: NVIDIA CUDA #1 CL_PLATFORM_PROFILE: FULL_PROFILE #1 CL_PLATFORM_VERSION: OpenCL 1.1 CUDA 4.2.1 #1 CL_PLATFORM_VENDOR: NVIDIA Corporation

What should I infer from the above output? As per my understanding CUDA and OpenCL are two different platform. The output says total available platform is:1, platform name is CUDA and version is OpenCL and CUDA. I am to totally confused.

Upvotes: 2

Views: 399

Answers (1)

Erik Smistad
Erik Smistad

Reputation: 1019

NVIDIA's OpenCL platform is bundled with the CUDA toolkit, not to be confused with the CUDA programming language. You have version 4.2.1 of the CUDA toolkit which contains OpenCL 1.1. You can have more than one OpenCL platforms installed (Intel and AMD has their own platforms).

Upvotes: 5

Related Questions