java - JAVACL on dual core -
i using java cl on dual core system. found 2 platforms 1 "amd" , 1 intel, each platform has 1 device.
should not return 1 platform , 2 devices ?
both amd , intel provide opencl implementations of cpus , gpus. in case of amd, opencl implementation supports intel cpus. therefore, after installing amd accelerated parallel processing (app) sdk, program will, @ least, identify amd platform 1 device, i.e. cpu in computer. once install intel opencl sdk, have second opencl implementation running on computer detects cpu. therefore, querying available platforms return 2 platforms, each 1 device. both devices same thing - computer's cpu. difference in opencl implementation gets used access cpu - i.e. intel version or amd version.
regarding number of cores, opencl sees cpu single device allows query how many compute units (i.e. physical cores) present on device (i.e. cpu).
Comments
Post a Comment