|
@@ -340,7 +340,7 @@ void _clInit(string device_type, int device_id)throw(string){
|
|
|
throw (string("InitCL()::Error: Getting platform ids (clGetPlatformIDs)"));
|
|
|
|
|
|
// Select the target platform. Default: first platform
|
|
|
- targetPlatform = allPlatforms[0];
|
|
|
+ targetPlatform = allPlatforms[1];
|
|
|
for (int i = 0; i < numPlatforms; i++)
|
|
|
{
|
|
|
char pbuff[128];
|
|
@@ -352,7 +352,7 @@ void _clInit(string device_type, int device_id)throw(string){
|
|
|
if (resultCL != CL_SUCCESS)
|
|
|
throw (string("InitCL()::Error: Getting platform info (clGetPlatformInfo)"));
|
|
|
|
|
|
- //printf("vedor is %s\n",pbuff);
|
|
|
+ printf("vedor is %s\n",pbuff);
|
|
|
#ifdef DEV_INFO
|
|
|
std::cout<<"--cambine: vedor is: "<<pbuff<<std::endl;
|
|
|
#endif
|