• Home
  • Blog
  • Tutorials
  • Docs
    DeePMD-kit

    DP-GEN

    dpdata

    DPDispatcher

    ABACUS

    DeepFlame

  • Publications
  • GitHub
  • Home
  • Blog
  • Tutorials
  • Docs
  • Publications
  • GitHub
DeePMD-kit Logo
latest

Getting Started

  • Getting Started

Advanced

  • 1. Installation
  • 2. Data
  • 3. Model
  • 4. Training
  • 5. Freeze and Compress
  • 6. Test
  • 7. Inference
  • 8. Command line interface
  • 9. Integrate with third-party packages
  • 10. Use NVNMD
  • 11. FAQs

Tutorial

  • Tutorials
  • Publications

Developer Guide

  • Find DeePMD-kit C/C++ library from CMake
  • Coding Conventions
  • Create a model
  • Atom Type Embedding
  • Python API
  • OP API
  • C++ API
  • C API
  • Core API

Project Details

  • License
  • Authors and Credits
  • Logo
DeePMD-kit
  • File gpu_rocm.h
  • Edit on GitHub

File gpu_rocm.h

↰ Parent directory (source/lib/include)

Contents

  • Definition (source/lib/include/gpu_rocm.h)

  • Includes

  • Namespaces

  • Functions

  • Defines

Definition (source/lib/include/gpu_rocm.h)

  • Program Listing for File gpu_rocm.h

Includes

  • assert.h

  • errors.h (File errors.h)

  • hip/hip_runtime.h

  • stdio.h

  • vector

Namespaces

  • Namespace deepmd

Functions

  • Template Function deepmd::malloc_device_memory(FPTYPE *&, std::vector<FPTYPE>&)

  • Template Function deepmd::malloc_device_memory_sync(FPTYPE *&, std::vector<FPTYPE>&)

  • Template Function deepmd::memcpy_device_to_host(FPTYPE *, std::vector<FPTYPE>&)

  • Template Function deepmd::memcpy_host_to_device(FPTYPE *, std::vector<FPTYPE>&)

  • Function DPAssert(hipError_t, const char *, int, bool)

  • Function nborAssert(hipError_t, const char *, int, bool)

Defines

  • Define DPErrcheck

  • Define GPU_MAX_NBOR_SIZE

  • Define nborErrcheck


© Copyright 2017-2023, DeepModeling. Revision 333007b7.

Built with Sphinx using a theme provided by Read the Docs.

京ICP备20010051号-8