Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: OpenCL: Device information [Updated Sep 04 2011]

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    OpenCL: Device information [Updated Sep 04 2011]

    The following script does tell you the basic information about your OpenCL device:
    • Name
    • Vendor
    • Driver version
    • Profile (full or embeded)
    • Device version
    • Extensions


    ... and as the bonus also:
    • Number of compute units
    • Top clock frequency
    • ... and max parameter size


    I attach the screen I get on my PC.

    Important note: The code requires the OpenCL headers.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Petr Schreiber; 04-09-2011 at 18:07.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #2
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: OpenCL: Device information

    Petr you are loving this OpenCL I see. THanks for all your efforts.

    Here is my info:
    Create OpenCL device & context...
    Query all devices available to the context...
    Query available text information...
    ======================================================================

    GeForce 8800 GT
    NVIDIA Corporation
    195.62
    FULL_PROFILE
    OpenCL 1.0 CUDA

    cl_khr_byte_addressable_store
    cl_khr_gl_sharing
    cl_nv_compiler_options
    cl_nv_device_attribute_query
    cl_khr_global_int32_base_atomics
    cl_khr_global_int32_extended_atomics

    ======================================================================
    Query available numeric information...
    ======================================================================

    Max compute units : 14 => 112 cores
    Device clock (MHz): 1715
    Max parameter size: 4352

    ======================================================================

    Press any key to quit...
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  3. #3

    Re: OpenCL: Device information

    Mine is a mini version


    Create OpenCL device & context...
    Query all devices available to the context...
    Query available text information...
    ======================================================================

    GeForce GT 120
    NVIDIA Corporation
    190.89
    FULL_PROFILE
    OpenCL 1.0

    cl_khr_byte_addressable_store
    cl_nv_compiler_options
    cl_nv_device_attribute_query
    cl_khr_global_int32_base_atomics
    cl_khr_global_int32_extended_atomics

    ======================================================================
    Query available numeric information...
    ======================================================================

    Max compute units : 4 => 32 cores
    Device clock (MHz): 1350
    Max parameter size: 4352

    ======================================================================

    Press any key to quit...

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: OpenCL: Device information

    Thank you guys,

    very interesting comparison.
    I beat Charles by 25MHz (all power of my 486SX25 based laptop ).

    Charles, if I may, I recommend you to install 195.62 WHQL drivers, they are very good and bring neat boost in OpenCL perfomance.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  5. #5
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Re: OpenCL: Device information

    Petr you are tempting me to buy a new gfx card just see what it can do but I dont really play games so I dont want to spend mega bucks. I did see a GTX250 896B DDR3 for £129 yesterday at pcworld which didnt seem to bad for off the shelf.

    Stop tempting me
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

  6. #6
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: OpenCL: Device information

    GT250 looks very good, but I have something to save you :P,

    NVIDIA Fermi based cards should appear soon, so maybe worth a wait.
    They should offer good double precision performance (my 9500GT does only floats).

    Or maybe something new from ATi?

    Oh wait ... you mean ... to choose a life without OpenCL? Nooooo

    Ok, to settle down the excitement - I am writing gauss blur kernel currently, and it is a bit of pain to code.
    But I must admit this new way of coding is very refreshing - you have to think differentely, and you can get speedup usually achieved using assembler with relatively high level syntax code.


    Petr


    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  7. #7

    Re: OpenCL: Device information

    You could get something cheap and cheerful first Michael - The high-end cards for this year will come down in price and become the norm for next year.

    @Petr: 158 meg download for the latest drivers (for Vista64). I thought 1 meg was extravagant!

  8. #8
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: OpenCL: Device information

    I am sorry Charles, but it is worth it

    The thing is the drivers contain also PhysX runtimes and other stuff ... no longer just "graphic drivers".
    But yes, it is extreme.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  9. #9

    Re: OpenCL: Device information


    My new 8Meg broadband only took about 4 minutes to download it. Seems to be the new standard here - even in the outer reaches of West Wales.


    Fermi: Double precision would be perfect for general purpose parallel computing - You have to be quite careful to avoid cumulative errors with single precision.


  10. #10
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: OpenCL: Device information

    Fermi: Double precision would be perfect for general purpose parallel computing - You have to be quite careful to avoid cumulative errors with single precision.
    Yes, exactly.

    But I think GT 2xx series support double precision already, could you please try to run the test again, to see if support appears in form of new extension?

    Fermi then just should add brutal boost in dp calculations.




    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Page 1 of 2 12 LastLast

Similar Threads

  1. From Support: Detecting COMM port and attached device names (if any)
    By ErosOlmi in forum COMM (Serial communication)
    Replies: 16
    Last Post: 08-07-2011, 19:32
  2. DLL information
    By sandyrepope in forum General
    Replies: 9
    Last Post: 30-04-2008, 02:59

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •