class_docstr: Tests just-in-time cpp extensions.
  Don't confuse this with the PyTorch JIT (aka TorchScript).
code: def test_inline_jit_compile_extension_multiple_sources_and_no_functions(
      self,
  ):
      cpp_source1 = """
          torch::Tensor sin_add(torch::Tensor x, torch::Tensor y) {
            return x.sin() + y.sin();
          }
          """
  
      cpp_source2 = """
          #include <torch/extension.h>
          torch::Tensor sin_add(torch::Tensor x, torch::Tensor y);
          PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
            m.def("sin_add", &sin_add, "sin(x) + sin(y)");
          }
          """
  
      module = torch.utils.cpp_extension.load_inline(
          name="inline_jit_extension",
          cpp_sources=[cpp_source1, cpp_source2],
          verbose=True,
      )
  
      x = torch.randn(4, 4)
      y = torch.randn(4, 4)
  
      z = module.sin_add(x, y)
      self.assertEqual(z, x.sin() + y.sin())
  
imports: import os
  import shutil
  import sys
  import unittest
  import warnings
  import re
  import tempfile
  import subprocess
  import glob
  import torch.testing._internal.common_utils
  from torch.testing._internal.common_cuda import TEST_CUDNN, TEST_CUDA
  import torch
  import torch.backends.cudnn
  import torch.utils.cpp_extension
  from torch.utils.cpp_extension import CUDA_HOME, ROCM_HOME
  from torch.testing._internal.common_utils import gradcheck
  import torch.multiprocessing
  from torch.utils.cpp_extension import _TORCH_PATH, remove_extension_h_precompiler_headers, get_cxx_compiler, check_compiler_is_gcc
label_desc: Use image node_id 13 for calling the TestCppExtensionJIT obj's underlying member method code with example usage: obj.test_inline_jit_compile_extension_multiple_sources_and_no_functions() without return types