Skip to content

core dump #192

@koen-dejonghe

Description

@koen-dejonghe

Examples core dump. On windows, linux, cpu and gpu.

val t1: Tensor = Tensor(Array(Seq(1.0f, 2.0f, 3.0f), Seq(4.0f, 5.0f, 6.0f)))
println(t1)

results in

#  SIGSEGV (0xb) at pc=0x00007f149ef51350, pid=109309, tid=109478

Here is the build.sbt:

import Dependencies._

ThisBuild / scalaVersion     := "2.12.8"
ThisBuild / version          := "0.1.0-SNAPSHOT"
ThisBuild / organization     := "com.example"
ThisBuild / organizationName := "example"

lazy val root = (project in file("."))
  .settings(
    name := "compute",
    libraryDependencies += scalaTest % Test,
    libraryDependencies += "com.thoughtworks.compute" %% "cpu" % "latest.release",
    libraryDependencies += "com.thoughtworks.compute" %% "gpu" % "latest.release"
  )

// Platform dependent runtime of LWJGL core library
libraryDependencies += ("org.lwjgl" % "lwjgl" % "latest.release").jar().classifier {
  import scala.util.Properties._
  if (isMac) {
    "natives-macos"
  } else if (isLinux) {
    "natives-linux"
  } else if (isWin) {
    "natives-windows"
  } else {
    throw new MessageOnlyException(s"lwjgl does not support $osName")
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions