Skip to content

Commit

Permalink
provide absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
antonysigma committed Jul 13, 2024
1 parent 66e40b3 commit ec005da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions proximal/halide/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,11 @@ env = { 'LD_LIBRARY_PATH': halide_library_path }
if build_machine.system() == 'windows'
object_file_ext = 'obj'
statlib_file_ext = 'lib'
dynamiclib_file_ext = 'dll'
else
object_file_ext = 'o'
statlib_file_ext = 'a'
dynamiclib_file_ext = 'so'
endif

proximal_python_interface = []
Expand Down Expand Up @@ -160,7 +162,7 @@ foreach p : pipeline_name
elif p['autoschedule']
compile_cmd += [
'target=host',
'-p', 'autoschedule_mullapudi2016',
'-p', '@0@/libautoschedule_mullapudi2016.@1@'.format(halide_library_path, dynamiclib_file_ext),
'autoscheduler=Mullapudi2016',
# Maximum level of CPU core, or GPU threads available
'autoscheduler.parallelism=4',
Expand All @@ -186,7 +188,6 @@ foreach p : pipeline_name
p['function_name'] + '.h',
],
input: halide_generator,
env: env,
command: [
compile_cmd,
p['generator_param'],
Expand Down

0 comments on commit ec005da

Please sign in to comment.