Commit da846796 authored by Brice Videau's avatar Brice Videau
Browse files

Fixed script .in files.

parent 0d7338a4
Pipeline #11698 canceled with stage
......@@ -82,6 +82,7 @@ AC_CONFIG_FILES([Makefile
AC_CONFIG_FILES([opencl/tracer_opencl.sh], [chmod +x opencl/tracer_opencl.sh])
AC_CONFIG_FILES([opencl/clprof.sh], [chmod +x opencl/clprof.sh])
AC_CONFIG_FILES([opencl/babeltrace_opencl], [chmod +x opencl/babeltrace_opencl])
AC_CONFIG_FILES([opencl/extract_enqueues], [chmod +x opencl/extract_enqueues])
AC_CONFIG_FILES([ze/babeltrace_ze], [chmod +x ze/babeltrace_ze])
AC_CONFIG_FILES([ze/tracer_ze.sh], [chmod +x ze/tracer_ze.sh])
AC_CONFIG_FILES([ze/zeprof.sh], [chmod +x ze/zeprof.sh])
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
#!/usr/bin/env ruby
DATADIR = File.join("@prefix@", "share")
require 'babeltrace'
require 'babeltrace/ctf'
require 'pp'
......@@ -12,14 +13,14 @@ c.add_traces(path: ARGV[0] )
it = c.iter_create
opencl_model = YAML::load_file("opencl_model.yaml")
opencl_model = YAML::load_file(File.join(DATADIR,"opencl_model.yaml"))
SUFFIXES = opencl_model["suffixes"]
START = SUFFIXES["start"]
STOP = SUFFIXES["stop"]
def get_enqueues(it)
enqueues = Hash::new { |h, k| h[k] = {args: Hash::new {|h2, k2| h2[k2] = {} }, name: nil, source: nil, type: nil} }
enqueues = Hash::new { |h, k| h[k] = {args: Hash::new {|h2, k2| h2[k2] = {} }, name: nil, source: nil, type: nil} }
kernels = {}
programs = {}
......
File mode changed from 100755 to 100644
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment