Class: Ikra::Types::InterpreterOnlyType
- Includes:
- RubyType
- Defined in:
- lib/types/types/ruby_type.rb
Overview
This type is marker and denotes that an expression should be executed only in the Ruby interpreter. No CUDA code should be generated for such expressions.
Class Method Summary collapse
Methods included from RubyType
#class_id, #eql?, #hash, #inspect, #is_primitive?, #is_union_type?, #should_generate_self_arg?, #to_array_type, #to_c_type, #to_ruby_type, #to_str, #to_union_type
Class Method Details
.new ⇒ Object
71 72 73 74 75 76 77 |
# File 'lib/types/types/ruby_type.rb', line 71 def self.new if @singleton_instance == nil @singleton_instance = super end return @singleton_instance end |