Skip to content

Commit

Permalink
Python3 compatibility. (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
SelvamArul authored and mingyuliutw committed Mar 21, 2018
1 parent 208d4f6 commit f33e07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smooth_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@


def smooth_local_affine(output_cpu, input_cpu, epsilon, patch, h, w, f_r, f_e):
program = Program(src, 'best_local_affine_kernel.cu')
ptx = program.compile(['-I/usr/local/cuda-9.1/include'])
program = Program(src.encode('utf-8'), 'best_local_affine_kernel.cu'.encode('utf-8'))
ptx = program.compile(['-I/usr/local/cuda-9.1/include'.encode('utf-8')])
m = function.Module()
m.load(bytes(ptx.encode()))

Expand Down

0 comments on commit f33e07f

Please sign in to comment.