diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-09-24 21:06:27 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-09-24 21:06:27 +0300 |
commit | 6215bc6b4e524735b75a45cdf6d08c7edf641bdb (patch) | |
tree | ba8269c79a0d526630b9b5b89a852b2695916203 /runcuda | |
parent | 21b12225b93203b2b59c7f2d3f68c2eca57172ae (diff) |
Shell scripts for compiling and running C and CUDA standalone files.
Changes to be committed:
new file: runc
new file: runcuda
Diffstat (limited to 'runcuda')
-rwxr-xr-x | runcuda | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +nvcc -allow-unsupported-compiler $1 -o temp + +chmod +x temp # if it isn't already executable + +./temp |