Skip to content

Commit 3bcbf88

Browse files
load the ptx from the correct place
1 parent 68d2fc0 commit 3bcbf88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/dcompute/tests/main.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ int main(string[] args)
4545
auto dev = devs[0];
4646
auto ctx = Context(dev); scope(exit) ctx.detach();
4747

48-
// Change the file path to match your GPU.
49-
Program.globalProgram = Program.fromFile("./kernels_cuda210_64.ptx");
48+
// Change the file to match your GPU.
49+
Program.globalProgram = Program.fromFile("./.dub/obj/kernels_cuda210_64.ptx");
5050
auto q = Queue(false);
5151

5252
enum size_t N = 128;

0 commit comments

Comments
 (0)