code: def test_monte_carlo_multigpu(self):
      output = example_test.run_example(
          "finance/monte_carlo_multigpu.py",
          "--gpus",
          "0",
          "1",
          "--n-options",
          "10",
          "--n-samples-per-thread",
          "10",
          "--n-threads-per-option",
          "10",
      )
      pattern = _normalize_regexp_eol(
          r"initializing...\n"
          + r"start computation\n"
          + r"    # of gpus: 2\n"
          + r"    # of options: 10\n"
          + r"    # of samples per option: 200\n"
          + r"GPU \(CuPy, Monte Carlo method\):\t[0-9\.]+ sec\n"
          + r"Error: [0-9\.]+"
      )
      assert re.search(pattern, output.decode("utf-8"))
  
file_path: cupy/tests/example_tests/test_finance.py
imports: import os
  import re
  import unittest
  from example_tests import example_test
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestMonteCarloWithMultiGPU obj's underlying member method code with example usage: obj.test_monte_carlo_multigpu() without return types