OpenCL 平台问题

OpenCL 平台问题

我目前的设置是我有一张 Nvidia 卡和一张 AMD(兼容 OpenCl 2.0)APU。

我正在运行 Fedora 20。

目的是测试 APU 与 [CPU+显卡] 之间的速度差异。通过查询可用的平台,我得到:

  1.1 Name       : AMD Accelerated Parallel Processing
  1.2 Vendor     : Advanced Micro Devices, Inc.
  1.3 Version    : OpenCL 1.2 AMD-APP (1445.5)
  1.4 Profile    : FULL_PROFILE

  2.1 Name       : NVIDIA CUDA
  2.2 Vendor     : NVIDIA Corporation
  2.3 Version    : OpenCL 1.1 CUDA 6.5.19
  2.4 Profile    : FULL_PROFILE

NVidia 卡只有 OpenCL v1.1 我对此并不感到惊讶,但 AMD APU 确实应该兼容 OpenCL v2.0。

我已在以前的内核(不是当前内核)上安装了 AMD App SDK,但我不明白为什么当前内核上的信息没有更改。谁能帮助我确保我获得正确的信息

Edit#1 -lshw -numeric -c display按要求输出

  *-display UNCLAIMED     
       description: VGA compatible controller
       product: Kaveri [Radeon R7 Graphics] [1002:130F]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
       physical id: 1
       bus info: pci@0000:00:01.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:b0000000-bfffffff memory:d2000000-d27fffff ioport:f000(size=256) memory:fe200000-fe23ffff memory:fe240000-fe25ffff
  *-display
       description: VGA compatible controller
       product: GM107 [GeForce GTX 980] [10DE:13C0]
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:51 memory:fd000000-fdffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:fe000000-fe07ffff

相关内容