class CooCoo::CUDA::NoMemoryError
Public Class Methods
new(amount = nil)
click to toggle source
Calls superclass method
# File lib/coo-coo/cuda/error.rb, line 32 def initialize(amount = nil) if amount super("CUDA failed to allocate #{amount} bytes on the device.") else super("CUDA failed to allocate memory on the device.") end end