class Ikra::Translator::CommandTranslator::ProgramBuilder::Launcher::CommandNotifier

Attributes

environment[R]

This visitor executes the post_execute function on every Array Command That way the responsible command node will recieve the adress of the computed result that will be kept on GPU

Public Class Methods

new(environment) click to toggle source
# File lib/translator/program_launcher.rb, line 14
def initialize(environment)
    @environment = environment
end

Public Instance Methods

visit_array_command(command) click to toggle source
# File lib/translator/program_launcher.rb, line 18
def visit_array_command(command)
    super(command)
    command.post_execute(environment)
end