yifeifang commented on code in PR #209: URL: https://github.com/apache/tvm-ffi/pull/209#discussion_r2479639156
########## examples/quickstart/raw_compile.sh: ########## @@ -59,3 +59,25 @@ g++ -fvisibility=hidden -O3 \ build/load_cpp # [load_cpp.end] fi + +# Example 4. Load and run `add_one_cuda.so` in C++ +# Before run this example, make sure you have a CUDA-capable GPU and the CUDA toolkit installed. +# See CONTRIBUTING.md to use a pre-built Docker image with CUDA support. + +# if [ -f "$BUILD_DIR/add_one_cuda.so" ] && command -v nvcc >/dev/null 2>&1; then Review Comment: I comment it out as I want the script to be runnable on any machine by default. So, a CUDA sample is more like an opt-in for people that actually have nvidia cards -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
