Skip to content

Commit

Permalink
Fix content error in documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Feng <[email protected]>
  • Loading branch information
ustcfy committed Dec 4, 2024
1 parent feda435 commit 8536fc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/cpp/faultinj/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Spark local mode is a single CUDA process. We can test is as any standalone
single-process application.

```bash
CUDA_INJECTION64_PATH=$PWD/target/cmake-build/faultinj/libcufaultinj.so \
CUDA_INJECTION64_PATH=$PWD/target/jni/cmake-build/faultinj/libcufaultinj.so \
FAULT_INJECTOR_CONFIG_PATH=src/test/cpp/faultinj/test_faultinj.json \
$SPARK_HOME/bin/pyspark \
--jars $SPARK_RAPIDS_REPO/dist/target/rapids-4-spark_2.12-22.08.0-SNAPSHOT-cuda11.jar \
Expand All @@ -44,7 +44,7 @@ $SPARK_HOME/bin/pyspark \
$SPARK_HOME/bin/spark-shell \
--jars $SPARK_RAPIDS_REPO/dist/target/rapids-4-spark_2.12-22.08.0-SNAPSHOT-cuda11.jar \
--conf spark.plugins=com.nvidia.spark.SQLPlugin \
--files ./target/cmake-build/faultinj/libcufaultinj.so,./src/test/cpp/faultinj/test_faultinj.json \
--files ./target/jni/cmake-build/faultinj/libcufaultinj.so,./src/test/cpp/faultinj/test_faultinj.json \
--conf spark.executorEnv.CUDA_INJECTION64_PATH=./libcufaultinj.so \
--conf spark.executorEnv.FAULT_INJECTOR_CONFIG_PATH=test_faultinj.json \
--conf spark.rapids.memory.gpu.minAllocFraction=0 \
Expand Down

0 comments on commit 8536fc8

Please sign in to comment.