Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,900 for platform1 (0.41 sec)

  1. tensorflow/c/experimental/stream_executor/stream_executor.cc

    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/strcat.h"
    #include "tensorflow/core/platform/stringpiece.h"
    #include "tsl/platform/status.h"
    
    using tensorflow::StatusFromTF_Status;
    
    namespace stream_executor {
    using tensorflow::StringPiece;
    
    // TODO(penporn): Remove OwnedTFStatus.
    using OwnedTFStatus = tensorflow::TF_StatusPtr;
    
    namespace {
    absl::Status ValidateSPPlatform(const SP_Platform& platform) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/linux/platform-linux.c

    #include "platform.h"
    
    const char* platform_name = "Linux";
    
    int max_path_length() { return -1; }
    
    unsigned long long max_memory() { return TB(128); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 186 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/windows/platform-windows.c

    #include "platform.h"
    
    const char* platform_name = "Windows";
    
    int max_path_length() { return 260; }
    
    // 640K ought to be enough for anybody.
    unsigned long long max_memory() { return KB(640); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 229 bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      TF_ASSERT_OK(status);
      absl::StatusOr<Platform*> maybe_platform =
          PlatformManager::PlatformWithName("MY_DEVICE");
      TF_ASSERT_OK(maybe_platform.status());
      Platform* platform = std::move(maybe_platform).value();
      ASSERT_EQ(platform->Name(), test_util::kDeviceName);
      ASSERT_EQ(platform->VisibleDeviceCount(), test_util::kDeviceCount);
    
      absl::StatusOr<StreamExecutor*> maybe_executor =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

    // the C API defined in stream_executor.h. A class "CSomething" represents a
    // "Something" that can be manipulated via calls in the C interface.
    class CPlatform : public Platform {
     public:
      explicit CPlatform(SP_Platform platform,
                         void (*destroy_platform)(SP_Platform*),
                         SP_PlatformFns platform_fns,
                         void (*destroy_platform_fns)(SP_PlatformFns*),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. docs/en/docs/img/sponsors/platform-sh-banner.png

    platform-sh-banner.png...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 10 20:58:15 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AbstractAlignmentSpec.groovy

                               belongsTo("\${id.group}:platform:\${id.version}")
                               belongsTo("\${id.group}:platform2:\${id.version}")
                            }
                        }
                    }
                }
            """
        }
    
        protected void 'a rule which declares that Groovy belongs to the Groovy and the Spring platforms'(boolean groovyVirtual=false, boolean springVirtual = false) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/headers/platform.h

    #ifndef PLATFORM_H
    #define PLATFORM_H
    
    extern const char* platform_name;
    
    int max_path_length();
    
    unsigned long long max_memory();
    
    int is_posix_like();
    
    #define KB(x) x
    #define MB(x) KB(x)*1024
    #define GB(x) MB(x)*1024
    #define TB(x) GB(x)*1024
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 267 bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/alignment/AlignmentIntegrationTest.groovy

            and:
            "align the 'org' group to 2 different virtual platforms"()
    
            when:
            expectAlignment {
                module('core') tries('1.0') alignsTo('1.1') byVirtualPlatform('org', 'platform') byVirtualPlatform('org', 'platform2')
                module('xml') tries('1.0') alignsTo('1.1') byVirtualPlatform('org', 'platform') byVirtualPlatform('org', 'platform2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 59.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/platforms/PlatformResolveIntegrationTest.groovy

                }
            """
        }
    
        // When publishing a platform, the Gradle metadata will _not_ contain enforced platforms
        // as those are synthetic platforms generated at runtime. This test is here to make sure
        // this is the case
        def "can enforce a published platform"() {
            def platform = mavenHttpRepo.module("org", "platform", "1.0")
                .asGradlePlatform()
                .dependsOn("org", "foo", "1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 19:52:38 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top