Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for test_ir (0.36 sec)

  1. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

      mlir::RegisterAllTensorFlowDialects(registry);
      mlir::MLIRContext context(registry);
    
      llvm::SourceMgr source_mgr;
      source_mgr.AddNewSourceBuffer(
          llvm::MemoryBuffer::getMemBuffer(mlir_input, "test_ir"), llvm::SMLoc());
    
      // Parse a kernel source code into the MLIR Module.
      mlir::OwningOpRef<mlir::ModuleOp> module(
          mlir::parseSourceFile<mlir::ModuleOp>(source_mgr, &context));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    == Using TestKit
    
    To use the TestKit, include the following in your plugin's build:
    
    .Declaring the TestKit dependency
    ====
    include::sample[dir="snippets/testKit/junitQuickstart/kotlin",files="build.gradle.kts[tags=declare-gradle-testkit-dependency]"]
    include::sample[dir="snippets/testKit/junitQuickstart/groovy",files="build.gradle[tags=declare-gradle-testkit-dependency]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            given:
            def dir = testDir.file("thing.dir")
            classesDir(dir)
            def file = testDir.file("thing.jar")
            jar(file)
            def dir2 = testDir.file("thing2.dir")
            classesDir(dir2)
            def file2 = testDir.file("thing2.jar")
            jar(file2)
            def dir3 = testDir.file("thing3.dir")
            classesDir(dir3)
            def file3 = testDir.file("thing3.jar")
            jar(file3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformReplacerTest.groovy

        def "replaces original class with transformed in non-multi-release JAR"() {
            given:
            def original = jar(testDir.file("original.jar")) {
                manifest {}
    
                entry("Foo.class", ORIGINAL_CLASS)
            }
    
            def transformed = jar(testDir.file("transformed.jar")) {
                manifest {}
    
                entry("Foo.class", INSTRUMENTED_CLASS)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/IoTestCase.java

          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
            // fall back to copying URLs to files in the testDir == null block below
          }
        }
    
        if (testDir == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/runlit.site.cfg.py

    config.mlir_tf_tools_dirs = [
        os.path.join(real_test_srcdir, os.environ['TEST_WORKSPACE'], s)
        for s in mlir_tf_tools_dirs
    ]
    test_dir = os.environ['TEST_TARGET']
    test_dir = test_dir.strip('/').rsplit(':', 1)[0]
    config.mlir_test_dir = os.path.join(real_test_srcdir,
                                        os.environ['TEST_WORKSPACE'], test_dir)
    
    if platform.system() == 'Windows':
      # Configure this to work with msys2, TF's preferred windows bash.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 21:33:52 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            missingFile = testDir.file("missing.txt")
            existingDir = testDir.file("dir").createDir()
            missingDir = testDir.file("missing-dir")
            missingDir2 = testDir.file("missing-dir2")
        }
    
        FileResolver getFileResolver() {
            return project.fileResolver
        }
    
        FileCollectionFactory getFileCollectionFactory() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

        TestFile testFile
        TestFile testFileLock
        TestFile testDir
        TestFile testDirLock
    
        List<Closeable> openedLocks = []
    
        def setup() {
            testFile = tmpDir.createFile("state.bin")
            testFileLock = tmpDir.file(testFile.name + ".lock")
            testDir = tmpDir.createDir("lockable-dir")
            testDirLock = tmpDir.file("${testDir.name}/${testDir.name}.lock")
    
            metaDataProvider.processIdentifier >> '123'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

      OwningOpRef<mlir::ModuleOp> mlir_module_;
    
      Env* env_;
      std::string test_dir_;
      std::string test_group_name_;
    };
    
    TEST_F(LowerClusterToRuntimeOpsTest, SanityCheck) {
      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(RunLowerClusterToRuntimeOpsPassPipeline(
          *mlir_module_, DeviceType(DEVICE_TPU_XLA_JIT)));
    }
    
    TEST_F(LowerClusterToRuntimeOpsTest, LowersClusterOpsTPU) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DestinationRootCopySpecCodec.kt

            write(value.delegate)
        }
    
        override suspend fun ReadContext.decode(): DestinationRootCopySpec {
            val destDir = read() as? File
            val delegate = read() as CopySpecInternal
            val spec = DestinationRootCopySpec(fileResolver, delegate)
            destDir?.let(spec::into)
            return spec
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top