Skip to content

Commit b14cceb

Browse files
author
Caspar van Leeuwen
committed
Add fake modulefile for CUDA in Tcl format as well
1 parent a17a42c commit b14cceb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/framework/toy_build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3232,7 +3232,9 @@ def test_toy_cuda_sanity_check(self):
32323232
mkdir(module_dir, parents=True)
32333233
cuda_mod_dir = os.path.join(module_dir, 'CUDA')
32343234
cuda_mod_file = os.path.join(cuda_mod_dir, '5.5.22.lua')
3235+
cuda_mod_file_tcl = os.path.join(cuda_mod_dir, '5.5.22')
32353236
write_file(cuda_mod_file, "-- Fake module content for CUDA")
3237+
write_file(cuda_mod_file_tcl, "#%Module1.0\n#This is a fake module file for CUDA")
32363238
setvar('MODULEPATH', module_dir)
32373239

32383240
# Filepath to cuobjdump

0 commit comments

Comments
 (0)