formulahendry / formulahendry/vscode-code-runner

[Bug]cannot use executorMap to set for cuda files

Open
#796 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: latest
- OS Version: ubuntu 18.04
- Code Runner Version: latest

**Describe the bug**
the settings of cuda file in executorMap seems doesn't work. I can only set it via FileExtension.

**Actual behavior**
for example, when we use a setting like this:
"code-runner.executorMap": {
"cu": "cd $dir && nvcc $fileName -lcublas -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
....
}
The cuda files will run the default settings:
cd xxx && nvcc xxx.cu -o xxx && xxx/xxx
**Expected behavior**
cd xxx && nvcc xxx.cu -lcublas -o xxx && xxx/xxx

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.