I can add here...

This is my experience after a succesfull installation of pyCuda (both the
former and the latest based on distribute) on my new MacBook Pro doing a
quick run of examples...

14 examples , with 1 a dump and 1 requiring openGL which I have not
installed yet, the 12 remaining tests tells me that I am didn¹t spend my
money on the right GPU... out of memory!

Attached output below for each case.

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python
dump_properties.py 
1 device(s) found.
Device #0: GeForce 9400M
  Compute Capability: 1.1
  Total Memory: 259776 KB
  CAN_MAP_HOST_MEMORY: 1
  CLOCK_RATE: 800000
  COMPUTE_MODE: DEFAULT
  GPU_OVERLAP: 0
  INTEGRATED: 1
  KERNEL_EXEC_TIMEOUT: 1
  MAX_BLOCK_DIM_X: 512
  MAX_BLOCK_DIM_Y: 512
  MAX_BLOCK_DIM_Z: 64
  MAX_GRID_DIM_X: 65535
  MAX_GRID_DIM_Y: 65535
  MAX_GRID_DIM_Z: 1
  MAX_PITCH: 262144
  MAX_REGISTERS_PER_BLOCK: 8192
  MAX_SHARED_MEMORY_PER_BLOCK: 16384
  MAX_THREADS_PER_BLOCK: 512
  MULTIPROCESSOR_COUNT: 2
  TEXTURE_ALIGNMENT: 256
  TOTAL_CONSTANT_MEMORY: 65536
  WARP_SIZE: 32

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python demo.py
Traceback (most recent call last):
  File "demo.py", line 4, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python
demo_elementwise.py
Traceback (most recent call last):
  File "demo_elementwise.py", line 2, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python
demo_meta_codepy.py
Traceback (most recent call last):
  File "demo_meta_codepy.py", line 2, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python
demo_meta_template.py
Traceback (most recent call last):
  File "demo_meta_template.py", line 2, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python demo_struct.py
Traceback (most recent call last):
  File "demo_struct.py", line 4, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python
fill_gpu_with_nans.py
Traceback (most recent call last):
  File "fill_gpu_with_nans.py", line 1, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python gl_interop.py
Traceback (most recent call last):
  File "gl_interop.py", line 5, in <module>
    from OpenGL.GL import *
ImportError: No module named OpenGL.GL
allan-peter-engsig-karups-macbook-pro:examples apek$ python hello_gpu.py
Traceback (most recent call last):
  File "hello_gpu.py", line 3, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python
multiple_threads.py
Exception in thread Thread-1:
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.p
y", line 525, in __bootstrap_inner
    self.run()
  File "multiple_threads.py", line 20, in run
    self.ctx = self.dev.make_context()
MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python
plot_random_data.py
Traceback (most recent call last):
  File "plot_random_data.py", line 3, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python rotate.py
Traceback (most recent call last):
  File "rotate.py", line 10, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python
test_gpuarray_speed_random.py
Traceback (most recent call last):
  File "test_gpuarray_speed_random.py", line 2, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory

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

allan-peter-engsig-karups-macbook-pro:examples apek$ python transpose.py
Traceback (most recent call last):
  File "transpose.py", line 8, in <module>
    import pycuda.autoinit
  File 
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packag
es/pycuda-0.93.1rc2-py2.6-macosx-10.3-fat.egg/pycuda/autoinit.py", line 8,
in <module>
    context = device.make_context()
pycuda._driver.MemoryError: cuCtxCreate failed: out of memory




_______________________________________________
PyCUDA mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to