Exception: Ignis::LibraryNotFoundError

Inherits:
Error
  • Object
show all
Defined in:
lib/nvruby/errors.rb

Overview

Raised when required CUDA library is not found

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(library_name) ⇒ LibraryNotFoundError

Returns a new instance of LibraryNotFoundError.

Parameters:

  • library_name (String)

    Name of the missing library



186
187
188
189
# File 'lib/nvruby/errors.rb', line 186

def initialize(library_name)
  @library_name = library_name
  super("Required CUDA library not found: #{library_name}")
end

Instance Attribute Details

#library_nameString (readonly)

Returns Library name that was not found.

Returns:

  • (String)

    Library name that was not found



183
184
185
# File 'lib/nvruby/errors.rb', line 183

def library_name
  @library_name
end