java.lang.IllegalStateException: MemcpyAsync failed: AllocationShape(offset=0, length=256, stride=1, elementSize=8, dataType=DOUBLE)

GitHub | Jajawah | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Cuda MemcpyAsync failed

    GitHub | 7 months ago | Jajawah
    java.lang.IllegalStateException: MemcpyAsync failed: AllocationShape(offset=0, length=256, stride=1, elementSize=8, dataType=DOUBLE)
  2. 0

    GitHub comment 350#274371695

    GitHub | 2 months ago | archenroot
    java.lang.IllegalStateException: MemcpyAsync failed: AllocationShape(offset=0, length=20, stride=1, elementSize=4, dataType=FLOAT)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      MemcpyAsync failed: AllocationShape(offset=0, length=256, stride=1, elementSize=8, dataType=DOUBLE)

      at org.nd4j.jita.flow.impl.SynchronousFlowController.synchronizeToHost()
    2. org.nd4j.jita
      AtomicAllocator.synchronizeHostData
      1. org.nd4j.jita.flow.impl.SynchronousFlowController.synchronizeToHost(SynchronousFlowController.java:56)
      2. org.nd4j.jita.handler.impl.CudaZeroHandler.synchronizeThreadDevice(CudaZeroHandler.java:1162)
      3. org.nd4j.jita.allocator.impl.AtomicAllocator.synchronizeHostData(AtomicAllocator.java:309)
      3 frames
    3. org.nd4j.linalg
      BaseCudaDataBuffer.asDouble
      1. org.nd4j.linalg.jcublas.buffer.BaseCudaDataBuffer.asDouble(BaseCudaDataBuffer.java:822)
      1 frame