Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Fixes wrong parameter call with the latest version of pynvrtc #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion torchqrnn/forget_mult.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def __init__(self):

def compile(self):
if self.ptx is None:
program = Program(kernel.encode(), 'recurrent_forget_mult.cu'.encode())
program = Program(kernel, 'recurrent_forget_mult.cu')
GPUForgetMult.ptx = program.compile()

if torch.cuda.current_device() not in GPUForgetMult.configured_gpus:
Expand Down