From 6215bc6b4e524735b75a45cdf6d08c7edf641bdb Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sun, 24 Sep 2023 21:06:27 +0300 Subject: Shell scripts for compiling and running C and CUDA standalone files. Changes to be committed: new file: runc new file: runcuda --- runcuda | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 runcuda (limited to 'runcuda') diff --git a/runcuda b/runcuda new file mode 100755 index 0000000..1c4de58 --- /dev/null +++ b/runcuda @@ -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 -- cgit v1.2.3