cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

griffin2000
Journeyman III

clGetPlatformIDs returns -1001

I can't seem to get the latest SDK (or the previous 2.0 beta-4 version) to work on my Windows-7 32-bit box with VS2008.  Whenever I call clGetPlatformIDs I get a return code of -1001.

I don't have a CL-compatible GPU so I was planning to use CPU device type, but obviously didn't get that stage (if I try and call clCreateContextFromType without a platform it returns CL_INVALID_PLATFORM).

Is that a supported platform ?

0 Likes
16 Replies
omkaranathan
Adept I

Which CPU are you using? Could you post the output of CLInfo, if you are able to run it?

if I try and call clCreateContextFromType without a platform it returns CL_INVALID_PLATFORM).

This is expected. You have to pass platform to clCreateContextFromType.

0 Likes

Do you mean clGetPlatformInfo ?  I can't get a platform ID to pass into that function as clGetPlatformIDs fails.

Here is the DXDiag results for my PC.  Its a Macbook running bootcamp, but I was able to run fine on it when I had XP installed.

------------------ System Information ------------------ Time of this report: 3/9/2010, 10:48:33 Operating System: Windows 7 Ultimate 32-bit (6.1, Build 7600) (7600.win7_rtm.090713-1255) Language: English (Regional Setting: English) System Manufacturer: Apple Computer, Inc. System Model: MacBookPro2,2 BIOS: Default System BIOS Processor: Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz (2 CPUs), ~2.3GHz Memory: 3072MB RAM Available OS Memory: 3056MB RAM Page File: 1070MB used, 5040MB available Windows Dir: C:\Windows DirectX Version: DirectX 11 DX Setup Parameters: Not found User DPI Setting: Using System DPI System DPI Setting: 96 DPI (100 percent) DWM DPI Scaling: Disabled DxDiag Version: 6.01.7600.16385 32bit Unicode ------------ DxDiag Notes ------------ Display Tab 1: No problems found. Sound Tab 1: No problems found. Sound Tab 2: No problems found. Input Tab: No problems found. -------------------- DirectX Debug Levels -------------------- Direct3D: 0/4 (retail) DirectDraw: 0/4 (retail) DirectInput: 0/5 (retail) DirectMusic: 0/5 (retail) DirectPlay: 0/9 (retail) DirectSound: 0/5 (retail) DirectShow: 0/6 (retail) --------------- Display Devices --------------- Card name: Radeon X1600 Manufacturer: ATI Technologies Inc. Chip type: ATI Radeon Graphics Processor (0x71C5) DAC type: Internal DAC(400MHz) Device Key: Enum\PCI\VEN_1002&DEV_71C5&SUBSYS_0080106B&REV_00 Display Memory: 1526 MB Dedicated Memory: 254 MB Shared Memory: 1272 MB Current Mode: 1440 x 900 (32 bit) (60Hz) Monitor Name: Generic PnP Monitor Monitor Model: Color LCD Monitor Id: APP9C60 Native Mode: 1440 x 900(p) (60.002Hz) Output Type: Internal Driver Name: atiumdag.dll,atiumdva.cap,atitmmxx.dll Driver File Version: 7.14.0010.0636 (English) Driver Version: 8.573.0.0 DDI Version: 9Ex Driver Model: WDDM 1.0 Driver Attributes: Final Retail Driver Date/Size: 7/22/2009 10:10:30, 3963392 bytes WHQL Logo'd: n/a WHQL Date Stamp: n/a Device Identifier: {D7B71EE2-3285-11CF-A771-8A20A1C2CA35} Vendor ID: 0x1002 Device ID: 0x71C5 SubSys ID: 0x0080106B Revision ID: 0x0000 Driver Strong Name: oem9.inf:ATI.Mfg.NTx86.6.0:ati2mtag_M56:8.573.0.0:pci\ven_1002&dev_71c5&subsys_0080106b Rank Of Driver: 00F60001 Video Accel: ModeMPEG2_A ModeMPEG2_C Deinterlace Caps: {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY {3C5323C1-6FB7-44F5-9081-056BF2EE449D}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {552C0DAD-CCBC-420B-83C8-74943CF9F1A6}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,2) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {6E8329FF-B642-418B-BCF0-BCB6591E255F}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,1) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY D3D9 Overlay: Not Supported DXVA-HD: Not Supported DDraw Status: Enabled D3D Status: Enabled AGP Status: Enabled ------------- Sound Devices ------------- Description: Speakers / HP (IDT High Definition Audio CODEC) Default Sound Playback: Yes Default Voice Playback: Yes Hardware ID: HDAUDIO\FUNC_01&VEN_8384&DEV_7680&SUBSYS_106B1E00&REV_1034 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: stwrt.sys Driver Version: 6.10.5927.0002 (English) Driver Attributes: Final Retail WHQL Logo'd: n/a Date and Size: 7/22/2009 10:14:56, 379904 bytes Other Files: Driver Provider: IDT HW Accel Level: Basic Cap Flags: 0x0 Min/Max Sample Rate: 0, 0 Static/Strm HW Mix Bufs: 0, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No Description: SPDIF-Out (IDT High Definition Audio CODEC) Default Sound Playback: No Default Voice Playback: No Hardware ID: HDAUDIO\FUNC_01&VEN_8384&DEV_7680&SUBSYS_106B1E00&REV_1034 Manufacturer ID: 1 Product ID: 100 Type: WDM Driver Name: stwrt.sys Driver Version: 6.10.5927.0002 (English) Driver Attributes: Final Retail WHQL Logo'd: n/a Date and Size: 7/22/2009 10:14:56, 379904 bytes Other Files: Driver Provider: IDT HW Accel Level: Basic Cap Flags: 0x0 Min/Max Sample Rate: 0, 0 Static/Strm HW Mix Bufs: 0, 0 Static/Strm HW 3D Bufs: 0, 0 HW Memory: 0 Voice Management: No EAX(tm) 2.0 Listen/Src: No, No I3DL2(tm) Listen/Src: No, No Sensaura(tm) ZoomFX(tm): No --------------------- Sound Capture Devices --------------------- Description: Microphone (IDT High Definition Audio CODEC) Default Sound Capture: Yes Default Voice Capture: Yes Driver Name: stwrt.sys Driver Version: 6.10.5927.0002 (English) Driver Attributes: Final Retail Date and Size: 7/22/2009 10:14:56, 379904 bytes Cap Flags: 0x0 Format Flags: 0x0 Description: Line In (IDT High Definition Audio CODEC) Default Sound Capture: No Default Voice Capture: No Driver Name: stwrt.sys Driver Version: 6.10.5927.0002 (English) Driver Attributes: Final Retail Date and Size: 7/22/2009 10:14:56, 379904 bytes Cap Flags: 0x0 Format Flags: 0x0 Description: Digital Audio (S/PDIF) (IDT High Definition Audio CODEC) Default Sound Capture: No Default Voice Capture: No Driver Name: stwrt.sys Driver Version: 6.10.5927.0002 (English) Driver Attributes: Final Retail Date and Size: 7/22/2009 10:14:56, 379904 bytes Cap Flags: 0x0 Format Flags: 0x0 ------------------- DirectInput Devices ------------------- Device Name: Mouse Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Keyboard Attached: 1 Controller ID: n/a Vendor/Product ID: n/a FF Driver: n/a Device Name: Apple Trackpad Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x05AC, 0x021B FF Driver: n/a Device Name: Apple Keyboard Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x05AC, 0x021B FF Driver: n/a Device Name: Apple IR Receiver Attached: 1 Controller ID: 0x0 Vendor/Product ID: 0x05AC, 0x8240 FF Driver: n/a Poll w/ Interrupt: No ----------- USB Devices ----------- + USB Root Hub | Vendor/Product ID: 0x8086, 0x27CA | Matching Device ID: usb\root_hub | Service: usbhub | Driver: usbhub.sys, 7/13/2009 15:52:09, 258560 bytes | Driver: usbd.sys, 7/13/2009 15:51:05, 5888 bytes | +-+ Apple IR Receiver | | Vendor/Product ID: 0x05AC, 0x8240 | | Location: Port_#0002.Hub_#0003 | | Matching Device ID: usb\vid_05ac&pid_8240 | | Lower Filters: IRRemoteFlt | | Service: HidUsb | | Driver: IRFilter.sys, 7/22/2009 10:11:38, 16512 bytes | | Driver: hidusb.sys, 7/13/2009 15:51:04, 24064 bytes | | Driver: hidclass.sys, 7/13/2009 15:51:01, 55808 bytes | | Driver: hidparse.sys, 7/13/2009 15:51:00, 25728 bytes | | Driver: WdfCoInstaller01005.dll, 7/22/2009 10:11:58, 1419232 bytes | | | +-+ HID-compliant consumer control device | | | Vendor/Product ID: 0x05AC, 0x8240 | | | Matching Device ID: hid_device_up:000c_u:0001 ---------------- Gameport Devices ---------------- ------------ PS/2 Devices ------------ + HID Keyboard Device | Vendor/Product ID: 0x05AC, 0x021B | Matching Device ID: hid_device_system_keyboard | Service: kbdhid | Driver: kbdhid.sys, 7/13/2009 15:45:09, 28160 bytes | Driver: kbdclass.sys, 7/13/2009 17:20:36, 42576 bytes | + Terminal Server Keyboard Driver | Matching Device ID: root\rdp_kbd | Upper Filters: kbdclass | Service: TermDD | Driver: i8042prt.sys, 7/13/2009 15:11:24, 80896 bytes | Driver: kbdclass.sys, 7/13/2009 17:20:36, 42576 bytes | + HID-compliant mouse | Vendor/Product ID: 0x046D, 0xC018 | Matching Device ID: hid_device_system_mouse | Service: mouhid | Driver: mouhid.sys, 7/13/2009 15:45:08, 26112 bytes | Driver: mouclass.sys, 7/13/2009 17:20:44, 41552 bytes | + Apple Trackpad Enabler | Vendor/Product ID: 0x05AC, 0x021B | Matching Device ID: hid\vid_05ac&pid_021b&mi_01&col01 | Upper Filters: aapltctp | Service: mouhid | Driver: aapltctp.sys, 7/22/2009 10:11:52, 4224 bytes | Driver: mouhid.sys, 7/13/2009 15:45:08, 26112 bytes | Driver: mouclass.sys, 7/13/2009 17:20:44, 41552 bytes | + Terminal Server Mouse Driver | Matching Device ID: root\rdp_mou | Upper Filters: mouclass | Service: TermDD | Driver: termdd.sys, 7/13/2009 17:19:10, 51776 bytes | Driver: sermouse.sys, 7/13/2009 15:45:08, 19968 bytes | Driver: mouclass.sys, 7/13/2009 17:20:44, 41552 bytes ------------------------ Disk & DVD/CD-ROM Drives ------------------------ Drive: C: Free Space: 78.7 GB Total Space: 130.2 GB File System: NTFS Model: Hitachi HTS722020K9SA00 ATA Device Drive: E: Free Space: 23.1 GB Total Space: 60.3 GB File System: HFS Model: Hitachi HTS722020K9SA00 ATA Device Drive: 😧 Model: MATSHITA DVD-R UJ-857E ATA Device Driver: c:\windows\system32\drivers\cdrom.sys, 6.01.7600.16385 (English), 7/13/2009 15:11:26, 108544 bytes -------------- System Devices -------------- Name: Intel(R) 82801G (ICH7 Family) Ultra ATA Storage Controllers - 27DF Device ID: PCI\VEN_8086&DEV_27DF&SUBSYS_72708086&REV_02\3&33FD14CA&0&F9 Driver: C:\Windows\system32\DRIVERS\intelide.sys, 6.01.7600.16385 (English), 7/13/2009 17:20:36, 15424 bytes Driver: C:\Windows\system32\DRIVERS\pciidex.sys, 6.01.7600.16385 (English), 7/13/2009 17:19:03, 42560 bytes Driver: C:\Windows\system32\DRIVERS\atapi.sys, 6.01.7600.16385 (English), 7/13/2009 17:26:15, 21584 bytes Driver: C:\Windows\system32\DRIVERS\ataport.sys, 6.01.7600.16385 (English), 7/13/2009 17:26:15, 133200 bytes Name: Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA Device ID: PCI\VEN_8086&DEV_27CA&SUBSYS_72708086&REV_02\3&33FD14CA&0&EA Driver: C:\Windows\system32\drivers\usbuhci.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:10, 24064 bytes Driver: C:\Windows\system32\drivers\usbport.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:15, 284160 bytes Driver: C:\Windows\system32\drivers\usbhub.sys, 6.01.7600.16385 (English), 7/13/2009 15:52:09, 258560 bytes Name: Intel(R) 82801 PCI Bridge - 2448 Device ID: PCI\VEN_8086&DEV_2448&SUBSYS_00000000&REV_E2\3&33FD14CA&0&F0 Driver: C:\Windows\system32\DRIVERS\pci.sys, 6.01.7600.16385 (English), 7/13/2009 17:20:45, 153680 bytes Name: Intel(R) 82801G (ICH7 Family) SMBus Controller - 27DA Device ID: PCI\VEN_8086&DEV_27DA&SUBSYS_72708086&REV_02\3&33FD14CA&0&FB Driver: n/a Name: Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9 Device ID: PCI\VEN_8086&DEV_27C9&SUBSYS_72708086&REV_02\3&33FD14CA&0&E9 Driver: C:\Windows\system32\drivers\usbuhci.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:10, 24064 bytes Driver: C:\Windows\system32\drivers\usbport.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:15, 284160 bytes Driver: C:\Windows\system32\drivers\usbhub.sys, 6.01.7600.16385 (English), 7/13/2009 15:52:09, 258560 bytes Name: Atheros AR5008X Wireless Network Adapter Device ID: PCI\VEN_168C&DEV_0024&SUBSYS_00000000&REV_01\4&D17D6F1&0&00E1 Driver: C:\Windows\system32\DRIVERS\athr.sys, 2.00.0000.0074 (English), 7/13/2009 14:02:46, 1096704 bytes Driver: C:\Windows\system32\drivers\vwifibus.sys, 6.01.7600.16385 (English), 7/13/2009 15:52:02, 19968 bytes Name: High Definition Audio Controller Device ID: PCI\VEN_8086&DEV_27D8&SUBSYS_76808384&REV_02\3&33FD14CA&0&D8 Driver: C:\Windows\system32\DRIVERS\hdaudbus.sys, 6.01.7600.16385 (English), 7/13/2009 15:50:56, 108544 bytes Name: Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8 Device ID: PCI\VEN_8086&DEV_27C8&SUBSYS_72708086&REV_02\3&33FD14CA&0&E8 Driver: C:\Windows\system32\drivers\usbuhci.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:10, 24064 bytes Driver: C:\Windows\system32\drivers\usbport.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:15, 284160 bytes Driver: C:\Windows\system32\drivers\usbhub.sys, 6.01.7600.16385 (English), 7/13/2009 15:52:09, 258560 bytes Name: Marvell Yukon 88E8053 PCI-E Gigabit Ethernet Controller Device ID: PCI\VEN_11AB&DEV_4362&SUBSYS_532111AB&REV_22\4&1CAF3751&0&00E0 Driver: n/a Name: Intel(R) 82801G (ICH7 Family) PCI Express Root Port - 27D4 Device ID: PCI\VEN_8086&DEV_27D4&SUBSYS_00000000&REV_02\3&33FD14CA&0&E2 Driver: C:\Windows\system32\DRIVERS\pci.sys, 6.01.7600.16385 (English), 7/13/2009 17:20:45, 153680 bytes Name: Intel(R) 82801GBM/GHM (ICH7-M Family) Serial ATA Storage Controller - 27C4 Device ID: PCI\VEN_8086&DEV_27C4&SUBSYS_72708086&REV_02\3&33FD14CA&0&FA Driver: C:\Windows\system32\DRIVERS\intelide.sys, 6.01.7600.16385 (English), 7/13/2009 17:20:36, 15424 bytes Driver: C:\Windows\system32\DRIVERS\pciidex.sys, 6.01.7600.16385 (English), 7/13/2009 17:19:03, 42560 bytes Driver: C:\Windows\system32\DRIVERS\atapi.sys, 6.01.7600.16385 (English), 7/13/2009 17:26:15, 21584 bytes Driver: C:\Windows\system32\DRIVERS\ataport.sys, 6.01.7600.16385 (English), 7/13/2009 17:26:15, 133200 bytes Name: Texas Instruments 1394 OHCI Compliant Host Controller Device ID: PCI\VEN_104C&DEV_8025&SUBSYS_00000000&REV_01\4&656A0D7&0&18F0 Driver: C:\Windows\system32\DRIVERS\1394ohci.sys, 6.01.7600.16385 (English), 7/13/2009 15:52:00, 163328 bytes Name: Intel(R) 82801G (ICH7 Family) PCI Express Root Port - 27D2 Device ID: PCI\VEN_8086&DEV_27D2&SUBSYS_00000000&REV_02\3&33FD14CA&0&E1 Driver: C:\Windows\system32\DRIVERS\pci.sys, 6.01.7600.16385 (English), 7/13/2009 17:20:45, 153680 bytes Name: Intel(R) 82801GBM (ICH7-M/U) LPC Interface Controller - 27B9 Device ID: PCI\VEN_8086&DEV_27B9&SUBSYS_72708086&REV_02\3&33FD14CA&0&F8 Driver: C:\Windows\system32\DRIVERS\msisadrv.sys, 6.01.7600.16385 (English), 7/13/2009 17:20:43, 13888 bytes Name: Radeon X1600 Device ID: PCI\VEN_1002&DEV_71C5&SUBSYS_0080106B&REV_00\4&310B4A89&0&0008 Driver: C:\Windows\system32\DRIVERS\atikmdag.sys, 7.01.0001.0861 (English), 7/22/2009 10:10:29, 4235776 bytes Driver: C:\Windows\system32\DRIVERS\ativcaxx.cpa, 7/22/2009 10:10:30, 328162 bytes Driver: C:\Windows\system32\DRIVERS\ativcaxx.vp, 7/22/2009 10:10:30, 929 bytes Driver: C:\Windows\system32\DRIVERS\ativvpxx.vp, 7/22/2009 10:10:31, 52400 bytes Driver: C:\Windows\system32\DRIVERS\ativpkxx.vp, 7/22/2009 10:10:31, 2096 bytes Driver: C:\Windows\system32\DRIVERS\ativokxx.vp, 7/22/2009 10:10:31, 2096 bytes Driver: C:\Windows\system32\DRIVERS\ativdkxx.vp, 7/22/2009 10:10:31, 2096 bytes Driver: C:\Windows\system32\DRIVERS\ati2erec.dll, 1.00.0000.0016 (English), 7/22/2009 10:10:28, 53248 bytes Driver: C:\Windows\system32\atiumdag.dll, 7.14.0010.0636 (English), 7/22/2009 10:10:30, 3963392 bytes Driver: C:\Windows\system32\atiumdva.dll, 7.14.0010.0211 (English), 7/22/2009 10:10:30, 4765696 bytes Driver: C:\Windows\system32\atitmmxx.dll, 6.14.0011.0019 (English), 7/22/2009 10:10:30, 159744 bytes Driver: C:\Windows\system32\atiicdxx.dat, 7/22/2009 10:10:29, 180720 bytes Driver: C:\Windows\system32\atiumdva.dat, 7/22/2009 10:10:30, 3107788 bytes Driver: C:\Windows\system32\amdpcom32.dll, 7.14.0010.0019 (English), 7/22/2009 10:10:28, 50688 bytes Driver: C:\Windows\system32\atiadlxx.dll, 6.14.0010.1023 (English), 7/22/2009 10:10:28, 122880 bytes Driver: C:\Windows\system32\atiumdva.cap, 7/22/2009 10:10:30, 79008 bytes Driver: C:\Windows\system32\Ati2evxx.exe, 6.14.0010.4218 (English), 7/22/2009 10:10:28, 729088 bytes Driver: C:\Windows\system32\Ati2evxx.dll, 6.14.0010.4177 (English), 7/22/2009 10:10:28, 286720 bytes Driver: C:\Windows\system32\atipdlxx.dll, 6.14.0010.2545 (English), 7/22/2009 10:10:30, 348160 bytes Driver: C:\Windows\system32\Oemdspif.dll, 6.15.0006.0001 (English), 7/22/2009 10:10:31, 274432 bytes Driver: C:\Windows\system32\ati2edxx.dll, 6.14.0010.2513 (English), 7/22/2009 10:10:28, 43520 bytes Driver: C:\Windows\system32\ATIDEMGX.dll, 2.00.3301.0110 (English), 7/22/2009 10:10:29, 425984 bytes Driver: C:\Windows\system32\atioglxx.dll, 6.14.0010.8395 (English), 7/22/2009 10:10:30, 11247616 bytes Driver: C:\Windows\atiogl.xml, 7/22/2009 10:10:29, 15362 bytes Name: Intel(R) 82801G (ICH7 Family) PCI Express Root Port - 27D0 Device ID: PCI\VEN_8086&DEV_27D0&SUBSYS_00000000&REV_02\3&33FD14CA&0&E0 Driver: C:\Windows\system32\DRIVERS\pci.sys, 6.01.7600.16385 (English), 7/13/2009 17:20:45, 153680 bytes Name: Apple performance counters Device ID: PCI\VEN_8086&DEV_27A3&SUBSYS_00000000&REV_03\3&33FD14CA&0&38 Driver: n/a Name: Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC Device ID: PCI\VEN_8086&DEV_27CC&SUBSYS_72708086&REV_02\3&33FD14CA&0&EF Driver: C:\Windows\system32\drivers\usbehci.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:14, 41472 bytes Driver: C:\Windows\system32\drivers\usbport.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:15, 284160 bytes Driver: C:\Windows\system32\drivers\usbhub.sys, 6.01.7600.16385 (English), 7/13/2009 15:52:09, 258560 bytes Name: Mobile Intel(R) 945GM/GU/PM/GMS/940GML/943GML and Intel(R) 945GT Express PCI Express Root Port - 27A1 Device ID: PCI\VEN_8086&DEV_27A1&SUBSYS_00008086&REV_03\3&33FD14CA&0&08 Driver: C:\Windows\system32\DRIVERS\pci.sys, 6.01.7600.16385 (English), 7/13/2009 17:20:45, 153680 bytes Name: Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB Device ID: PCI\VEN_8086&DEV_27CB&SUBSYS_72708086&REV_02\3&33FD14CA&0&EB Driver: C:\Windows\system32\drivers\usbuhci.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:10, 24064 bytes Driver: C:\Windows\system32\drivers\usbport.sys, 6.01.7600.16385 (English), 7/13/2009 15:51:15, 284160 bytes Driver: C:\Windows\system32\drivers\usbhub.sys, 6.01.7600.16385 (English), 7/13/2009 15:52:09, 258560 bytes Name: Mobile Intel(R) 945GM/GU/PM/GMS/940GML/943GML and Intel(R) 945GT Express Processor to DRAM Controller - 27A0 Device ID: PCI\VEN_8086&DEV_27A0&SUBSYS_72708086&REV_03\3&33FD14CA&0&00 Driver: n/a ------------------ DirectShow Filters ------------------ DirectShow Filters: WMAudio Decoder DMO,0x00800800,1,1,WMADMOD.DLL,6.01.7600.16385 WMAPro over S/PDIF DMO,0x00600800,1,1,WMADMOD.DLL,6.01.7600.16385 WMSpeech Decoder DMO,0x00600800,1,1,WMSPDMOD.DLL,6.01.7600.16385 MP3 Decoder DMO,0x00600800,1,1,mp3dmod.dll,6.01.7600.16385 Mpeg4s Decoder DMO,0x00800001,1,1,mp4sdecd.dll,6.01.7600.16385 WMV Screen decoder DMO,0x00600800,1,1,wmvsdecd.dll,6.01.7600.16385 WMVideo Decoder DMO,0x00800001,1,1,wmvdecod.dll,6.01.7600.16385 Mpeg43 Decoder DMO,0x00800001,1,1,mp43decd.dll,6.01.7600.16385 Mpeg4 Decoder DMO,0x00800001,1,1,mpg4decd.dll,6.01.7600.16385 RealPlayer Video Filter,0x00200000,1,1,rdsf3260.dll,6.00.0013.0687 DV Muxer,0x00400000,0,0,qdv.dll,6.06.7600.16385 Color Space Converter,0x00400001,1,1,quartz.dll,6.06.7600.16385 WM ASF Reader,0x00400000,0,0,qasf.dll,12.00.7600.16385 Screen Capture filter,0x00200000,0,1,wmpsrcwp.dll,12.00.7600.16385 AVI Splitter,0x00600000,1,1,quartz.dll,6.06.7600.16385 VGA 16 Color Ditherer,0x00400000,1,1,quartz.dll,6.06.7600.16385 SBE2MediaTypeProfile,0x00200000,0,0,sbe.dll,6.06.7600.16385 Microsoft DTV-DVD Video Decoder,0x005fffff,2,4,msmpeg2vdec.dll,6.01.7140.0000 AC3 Parser Filter,0x00600000,1,1,mpg2splt.ax,6.06.7600.16385 StreamBufferSink,0x00200000,0,0,sbe.dll,6.06.7600.16385 Microsoft TV Captions Decoder,0x00200001,1,0,MSTVCapn.dll,6.01.7600.16385 MJPEG Decompressor,0x00600000,1,1,quartz.dll,6.06.7600.16385 CBVA DMO wrapper filter,0x00200000,1,1,cbva.dll,6.01.7600.16385 MPEG-I Stream Splitter,0x00600000,1,2,quartz.dll,6.06.7600.16385 SAMI (CC) Parser,0x00400000,1,1,quartz.dll,6.06.7600.16385 VBI Codec,0x00600000,1,4,VBICodec.ax,6.06.7600.16385 MPEG-2 Splitter,0x005fffff,1,0,mpg2splt.ax,6.06.7600.16385 Closed Captions Analysis Filter,0x00200000,2,5,cca.dll,6.06.7600.16385 SBE2FileScan,0x00200000,0,0,sbe.dll,6.06.7600.16385 Microsoft MPEG-2 Video Encoder,0x00200000,1,1,msmpeg2enc.dll,6.01.7600.16385 Internal Script Command Renderer,0x00800001,1,0,quartz.dll,6.06.7600.16385 MPEG Audio Decoder,0x03680001,1,1,quartz.dll,6.06.7600.16385 DV Splitter,0x00600000,1,2,qdv.dll,6.06.7600.16385 Video Mixing Renderer 9,0x00200000,1,0,quartz.dll,6.06.7600.16385 Microsoft MPEG-2 Encoder,0x00200000,2,1,msmpeg2enc.dll,6.01.7600.16385 ACM Wrapper,0x00600000,1,1,quartz.dll,6.06.7600.16385 Video Renderer,0x00800001,1,0,quartz.dll,6.06.7600.16385 MPEG-2 Video Stream Analyzer,0x00200000,0,0,sbe.dll,6.06.7600.16385 Line 21 Decoder,0x00600000,1,1,qdvd.dll,6.06.7600.16385 Video Port Manager,0x00600000,2,1,quartz.dll,6.06.7600.16385 Video Renderer,0x00400000,1,0,quartz.dll,6.06.7600.16385 VPS Decoder,0x00200000,0,0,WSTPager.ax,6.06.7600.16385 WM ASF Writer,0x00400000,0,0,qasf.dll,12.00.7600.16385 VBI Surface Allocator,0x00600000,1,1,vbisurf.ax,6.01.7600.16385 File writer,0x00200000,1,0,qcap.dll,6.06.7600.16385 iTV Data Sink,0x00600000,1,0,itvdata.dll,6.06.7600.16385 iTV Data Capture filter,0x00600000,1,1,itvdata.dll,6.06.7600.16385 DVD Navigator,0x00200000,0,3,qdvd.dll,6.06.7600.16385 Microsoft TV Subtitles Decoder,0x00200001,1,0,MSTVCapn.dll,6.01.7600.16385 Overlay Mixer2,0x00200000,1,1,qdvd.dll,6.06.7600.16385 AVI Draw,0x00600064,9,1,quartz.dll,6.06.7600.16385 RDP DShow Redirection Filter,0xffffffff,1,0,DShowRdpFilter.dll, Microsoft MPEG-2 Audio Encoder,0x00200000,1,1,msmpeg2enc.dll,6.01.7600.16385 WST Pager,0x00200000,1,1,WSTPager.ax,6.06.7600.16385 MPEG-2 Demultiplexer,0x00600000,1,1,mpg2splt.ax,6.06.7600.16385 DV Video Decoder,0x00800000,1,1,qdv.dll,6.06.7600.16385 RealPlayer Transcode Filter,0x00600000,0,0,rdsf3260.dll,6.00.0013.0687 SampleGrabber,0x00200000,1,1,qedit.dll,6.06.7600.16385 Null Renderer,0x00200000,1,0,qedit.dll,6.06.7600.16385 MPEG-2 Sections and Tables,0x005fffff,1,0,Mpeg2Data.ax,6.06.7600.16385 Microsoft AC3 Encoder,0x00200000,1,1,msac3enc.dll,6.01.7600.16385 StreamBufferSource,0x00200000,0,0,sbe.dll,6.06.7600.16385 Smart Tee,0x00200000,1,2,qcap.dll,6.06.7600.16385 Overlay Mixer,0x00200000,0,0,qdvd.dll,6.06.7600.16385 RealPlayer Audio Filter,0x00200000,1,1,rdsf3260.dll,6.00.0013.0687 AVI Decompressor,0x00600000,1,1,quartz.dll,6.06.7600.16385 NetBridge,0x00200000,2,0,netbridge.dll,6.01.7600.16385 AVI/WAV File Source,0x00400000,0,2,quartz.dll,6.06.7600.16385 Wave Parser,0x00400000,1,1,quartz.dll,6.06.7600.16385 MIDI Parser,0x00400000,1,1,quartz.dll,6.06.7600.16385 Multi-file Parser,0x00400000,1,1,quartz.dll,6.06.7600.16385 File stream renderer,0x00400000,1,1,quartz.dll,6.06.7600.16385 Microsoft DTV-DVD Audio Decoder,0x005fffff,1,1,msmpeg2adec.dll,6.01.7140.0000 StreamBufferSink2,0x00200000,0,0,sbe.dll,6.06.7600.16385 AVI Mux,0x00200000,1,0,qcap.dll,6.06.7600.16385 Line 21 Decoder 2,0x00600002,1,1,quartz.dll,6.06.7600.16385 File Source (Async.),0x00400000,0,1,quartz.dll,6.06.7600.16385 File Source (URL),0x00400000,0,1,quartz.dll,6.06.7600.16385 Media Center Extender Encryption Filter,0x00200000,2,2,Mcx2Filter.dll,6.01.7600.16385 AudioRecorder WAV Dest,0x00200000,0,0,WavDest.dll, AudioRecorder Wave Form,0x00200000,0,0,WavDest.dll, SoundRecorder Null Renderer,0x00200000,0,0,WavDest.dll, Infinite Pin Tee Filter,0x00200000,1,1,qcap.dll,6.06.7600.16385 Enhanced Video Renderer,0x00200000,1,0,evr.dll,6.01.7600.16385 BDA MPEG2 Transport Information Filter,0x00200000,2,0,psisrndr.ax,6.06.7600.16385 MPEG Video Decoder,0x40000001,1,1,quartz.dll,6.06.7600.16385 WDM Streaming Tee/Splitter Devices: Tee/Sink-to-Sink Converter,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 Video Compressors: WMVideo8 Encoder DMO,0x00600800,1,1,wmvxencd.dll,6.01.7600.16385 WMVideo9 Encoder DMO,0x00600800,1,1,wmvencod.dll,6.01.7600.16385 MSScreen 9 encoder DMO,0x00600800,1,1,wmvsencd.dll,6.01.7600.16385 DV Video Encoder,0x00200000,0,0,qdv.dll,6.06.7600.16385 MJPEG Compressor,0x00200000,0,0,quartz.dll,6.06.7600.16385 Cinepak Codec by Radius,0x00200000,1,1,qcap.dll,6.06.7600.16385 Intel IYUV codec,0x00200000,1,1,qcap.dll,6.06.7600.16385 Intel IYUV codec,0x00200000,1,1,qcap.dll,6.06.7600.16385 Microsoft RLE,0x00200000,1,1,qcap.dll,6.06.7600.16385 Microsoft Video 1,0x00200000,1,1,qcap.dll,6.06.7600.16385 Audio Compressors: WM Speech Encoder DMO,0x00600800,1,1,WMSPDMOE.DLL,6.01.7600.16385 WMAudio Encoder DMO,0x00600800,1,1,WMADMOE.DLL,6.01.7600.16385 IMA ADPCM,0x00200000,1,1,quartz.dll,6.06.7600.16385 PCM,0x00200000,1,1,quartz.dll,6.06.7600.16385 Microsoft ADPCM,0x00200000,1,1,quartz.dll,6.06.7600.16385 GSM 6.10,0x00200000,1,1,quartz.dll,6.06.7600.16385 CCITT A-Law,0x00200000,1,1,quartz.dll,6.06.7600.16385 CCITT u-Law,0x00200000,1,1,quartz.dll,6.06.7600.16385 MPEG Layer-3,0x00200000,1,1,quartz.dll,6.06.7600.16385 Audio Capture Sources: Microphone (IDT High Definition,0x00200000,0,0,qcap.dll,6.06.7600.16385 Digital Audio (S/PDIF) (IDT Hig,0x00200000,0,0,qcap.dll,6.06.7600.16385 Line In (IDT High Definition Au,0x00200000,0,0,qcap.dll,6.06.7600.16385 PBDA CP Filters: PBDA DTFilter,0x00600000,1,1,CPFilters.dll,6.06.7600.16385 PBDA ETFilter,0x00200000,0,0,CPFilters.dll,6.06.7600.16385 PBDA PTFilter,0x00200000,0,0,CPFilters.dll,6.06.7600.16385 Midi Renderers: Default MidiOut Device,0x00800000,1,0,quartz.dll,6.06.7600.16385 Microsoft GS Wavetable Synth,0x00200000,1,0,quartz.dll,6.06.7600.16385 WDM Streaming Capture Devices: MicIn,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 MuxedIn,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 SpdifIn,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 ,0x00000000,0,0,, ,0x00000000,0,0,, Apple Built-in iSight,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 WDM Streaming Rendering Devices: ,0x00000000,0,0,, ,0x00000000,0,0,, ,0x00000000,0,0,, SpdifOut,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 Speaker,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 BDA Network Providers: Microsoft ATSC Network Provider,0x00200000,0,1,MSDvbNP.ax,6.06.7600.16385 Microsoft DVBC Network Provider,0x00200000,0,1,MSDvbNP.ax,6.06.7600.16385 Microsoft DVBS Network Provider,0x00200000,0,1,MSDvbNP.ax,6.06.7600.16385 Microsoft DVBT Network Provider,0x00200000,0,1,MSDvbNP.ax,6.06.7600.16385 Microsoft Network Provider,0x00200000,0,1,MSNP.ax,6.06.7600.16385 Video Capture Sources: Apple Built-in iSight,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 Multi-Instance Capable VBI Codecs: VBI Codec,0x00600000,1,4,VBICodec.ax,6.06.7600.16385 BDA Transport Information Renderers: BDA MPEG2 Transport Information Filter,0x00600000,2,0,psisrndr.ax,6.06.7600.16385 MPEG-2 Sections and Tables,0x00600000,1,0,Mpeg2Data.ax,6.06.7600.16385 BDA CP/CA Filters: Decrypt/Tag,0x00600000,1,1,EncDec.dll,6.06.7600.16385 Encrypt/Tag,0x00200000,0,0,EncDec.dll,6.06.7600.16385 PTFilter,0x00200000,0,0,EncDec.dll,6.06.7600.16385 XDS Codec,0x00200000,0,0,EncDec.dll,6.06.7600.16385 WDM Streaming Communication Transforms: Tee/Sink-to-Sink Converter,0x00200000,1,1,ksproxy.ax,6.01.7600.16385 Audio Renderers: Speakers / HP (IDT High Definit,0x00200000,1,0,quartz.dll,6.06.7600.16385 Default DirectSound Device,0x00800000,1,0,quartz.dll,6.06.7600.16385 Default WaveOut Device,0x00200000,1,0,quartz.dll,6.06.7600.16385 DirectSound: SPDIF-Out (IDT High Definition Audio CODEC),0x00200000,1,0,quartz.dll,6.06.7600.16385 DirectSound: Speakers / HP (IDT High Definition Audio CODEC),0x00200000,1,0,quartz.dll,6.06.7600.16385 SPDIF-Out (IDT High Definition ,0x00200000,1,0,quartz.dll,6.06.7600.16385 --------------- EVR Power Information --------------- Current Setting: {5C67A112-A4C9-483F-B4A7-1D473BECAFDC} (Quality) Quality Flags: 2576 Enabled: Force throttling Allow half deinterlace Allow scaling Decode Power Usage: 100 Balanced Flags: 1424 Enabled: Force throttling Allow batching Force half deinterlace Force scaling Decode Power Usage: 50 PowerFlags: 1424 Enabled: Force throttling Allow batching Force half deinterlace Force scaling Decode Power Usage: 0

0 Likes

I meant the CLInfo sample which comes with the SDK.

0 Likes

Ah OK I see.  Where is the default install location for the samples on Windows 7 ?  I've installed the samples package but can't find them in c:\program files.

 

0 Likes

OK I found it (In C:\Users\...\Documents\ATI Stream\samples\opencl\cpp_cl\app\CLInfo).

However the first thing it does is call clGetPlatformIDs, which fails with an error code of -1001.

0 Likes

Did you uninstall the previous SDK completely, before installing SDK 2.01 ?

0 Likes

Yes, in fact it was the other way round.  I installed 2.01 on a fresh windows installed (no prior OpenCL on it at all), saw this issue, then I downgraded to the last 2.0 beta-4 build (after completely uninstalling) and saw the same result.

 

0 Likes

griffin2000,

After installing SDK2.01, could you post the registry values set at  HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors ?

 

0 Likes

Interestingly reinstalling (with 2.01) fixed it, it working now.  Which is weird, beacuse as I mention the original install was completely fresh.

One thing I noticed w.r.t. to the reinstall, is that I still had a OpenCL dll in my windows/system32 after uninstalling the beta.  I also had this in that reg page:
[HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors]
"atiocl.dll"=dword:00000000
"atiocl64.dll"=dword:00000000

 

0 Likes
bjano
Journeyman III

I am also getting -1001 from clGetPlatformIDs and 0 as the number of platforms.

I have Windows 7, HD5670, SDK 2.01, minGW.  I have already tried to reinstall the SDK, but it didn't help.

CLInfo.exe seems to find the platform and two devices. (gpu and cpu)

Does anyone have any idea? I appreciate any help!

 

Number of platforms: 1 Plaform Profile: FULL_PROFILE Plaform Version: OpenCL 1.0 ATI-Stream-v2.0.1 Plaform Name: ATI Stream Plaform Vendor: Advanced Micro Devices, Inc. Plaform Extensions: cl_khr_icd Plaform Name: ATI Stream Number of devices: 2

0 Likes

bjano,

In which sample are you getting the error? If its not a sample, could you post the code which is producing the error?

0 Likes

Here is the code I am having trouble with.

(I have started with a sample I found on a non-english site which doesn't tell where they got it from)

 

#include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/stat.h> #include <math.h> #include <CL/cl.h> int main (int argc, const char * argv[]) { int err; // Enumerate all available OpenCL platforms cl_uint num_platforms; cl_platform_id * platforms; int ret = clGetPlatformIDs(0, NULL, &num_platforms); // Get number of devices printf("num_platforms: %d ret: %d\n",num_platforms,ret); platforms = malloc(sizeof(cl_platform_id) * num_platforms); clGetPlatformIDs(num_platforms, platforms, NULL); // Get device IDs // Select the first platform cl_platform_id platform_id = platforms[0]; ... code continues, but it already failed when malloc-ing 0 bytes, as num_platforms == 0

0 Likes

-1001 mean CL_PLATFORM_NOT_FOUND_KHR. it seems that ICD is not working correctly. but i recall some issue with mingw and opencl.lib.

0 Likes
bjano
Journeyman III

Yes, it seems that the problem is somewhere around minGW.

I installed a VS2008, and when compiling with that, clGetPlatformID returns 1 platform, and the official samples are also working.

It's unfortunate, I would prefer to avoid VS  

0 Likes

searg around this forum. i read something about mingw and ati stream 2

0 Likes

bjano,

minGW is not officially supported currently. However some users have been able to run OpenCL in Mingw.

Refer the below thread for more details.

http://forums.amd.com/forum/messageview.cfm?FTVAR_FORUMVIEWTMP=Threaded&catid=390&threadid=122916

This might help you.

0 Likes