Skip to content

Instantly share code, notes, and snippets.

View luhenry's full-sized avatar

Ludovic Henry luhenry

View GitHub Profile
diff --git a/dev/deps/spark-deps-hadoop-2.7-hive-2.3 b/dev/deps/spark-deps-hadoop-2.7-hive-2.3
index d5604fe82f..b84a47a2b9 100644
--- a/dev/deps/spark-deps-hadoop-2.7-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-2.7-hive-2.3
@@ -15,6 +15,7 @@ apacheds-i18n/2.0.0-M15//apacheds-i18n-2.0.0-M15.jar
apacheds-kerberos-codec/2.0.0-M15//apacheds-kerberos-codec-2.0.0-M15.jar
api-asn1-api/1.0.0-M20//api-asn1-api-1.0.0-M20.jar
api-util/1.0.0-M20//api-util-1.0.0-M20.jar
+arpack/1.3.0//arpack-1.3.0.jar
arpack_combined_all/0.1//arpack_combined_all-0.1.jar
----- Run 1
root
|-- label: double (nullable = true)
|-- features: vector (nullable = true)
train head: [0.0,(4,[0,1,2,3],[-0.666667,-0.583333,0.186441,0.333333])]
Elapsed time for Model Training: 115s (114506360463ns)
Elapsed time for Model Test: 0s (38181525ns)
Test set accuracy = 0.972972972972973
----- Run 2
import random
import sys
random.seed(0)
coefs = [random.random() * 20 - 10 for _ in range(0,100)]
sys.stderr.write(" ".join(["%.5f" % c for c in coefs]) + "\n")
for i in range(0, 100*1000):
Benchmark Mode Threads Samples Score Score Error (99.9%) Unit Param: k Param: m Param: n Param: trans Param: transa Param: transb
dev.ludovic.blas.benchmarks.DaxpyBenchmark blas thrpt 1 6 9891830.622 1028065.96 ops/s 100
dev.ludovic.blas.benchmarks.DaxpyBenchmark f2j thrpt 1 6 17318477.350 359818.65 ops/s 100
dev.ludovic.blas.benchmarks.DaxpyBenchmark vector thrpt 1 6 44742539.869 18923558.24 ops/s 100
dev.ludovic.blas.benchmarks.DaxpyBenchmark blas thrpt 1 6 96.853 11.44 ops/s 10000000
dev.ludovic.blas.benchmarks.DaxpyBenchmark f2j thrpt 1 6 106.407 4.43 ops/s 10000000
dev.ludovic.blas.benchmarks.DaxpyBenchmark vector thrpt 1 6 121.109 6.17 ops/s 10000000
dev.ludovic.blas.benchmarks.DdotBenchmark blas thrpt 1 6 9954784.951 173474.76 ops/s 100
dev.ludovic.blas.benchmarks.DdotBenchmark f2j thrpt 1 6 10859531.956 15222.60 ops/s 100
dev.ludovic.blas.benchmarks.DdotBenchmark vector thrpt 1 6 47541964.333 600666.13 ops/s 100
Benchmark Mode Threads Samples Score Score Error (99.9%) Unit Param: k Param: m Param: n Param: trans Param: transa Param: transb
dev.ludovic.blas.benchmarks.DaxpyBenchmark blas thrpt 1 6 10328662.50 167933.39 ops/s 100
dev.ludovic.blas.benchmarks.DaxpyBenchmark f2j thrpt 1 6 17276172.55 194877.38 ops/s 100
dev.ludovic.blas.benchmarks.DaxpyBenchmark vector thrpt 1 6 48170174.19 309585.24 ops/s 100
dev.ludovic.blas.benchmarks.DaxpyBenchmark blas thrpt 1 6 87.06 12.16 ops/s 10000000
dev.ludovic.blas.benchmarks.DaxpyBenchmark f2j thrpt 1 6 106.24 3.88 ops/s 10000000
dev.ludovic.blas.benchmarks.DaxpyBenchmark vector thrpt 1 6 121.42 1.29 ops/s 10000000
dev.ludovic.blas.benchmarks.DdotBenchmark blas thrpt 1 6 9971174.02 70502.50 ops/s 100
dev.ludovic.blas.benchmarks.DdotBenchmark f2j thrpt 1 6 10790365.04 56293.53 ops/s 100
dev.ludovic.blas.benchmarks.DdotBenchmark vector thrpt 1 6 32507396.01 462653.36 ops/s 100
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
/*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDYKGLKBjYChK83nB6nut8UqSreP6iOtnmnAXA3WLzNJfUtLe29kFHysIsIur5SHwVjocY3Mj1tRNphS9g4LPmvuZ9y3UNmeuYJWamQeuLlfKder0/RQWCiYOb1PDviarzK55qcCTqKVS/gh4KEsngO+/oohxf+9/cqGKxxBVoBHwKufRaBGhuN42QlefPVR3Q54PyBTBMZPgNksisHJb++t2pvBB9j7xRS/iyjzwjKZgg7+wzSvjBCO5tbXJWCZUCmhr0obGY8xj7l3pma9c6Td7Xi4iX2+aSBR4R7FlRIV1qLFF10v8DoP7NcaqQpnYAo4HeoWvS7qvKDVg8Dedz7PqSYyF2TPzyvtIWd0d0lF9LvcgzuFBRLWk9HjXtX2UWr4th/+Tg3yJedJDQzqT+l9/XEZ14bYdF8/d632s594aIBx5YYJjBwAgjftGtdj1JTsr92ZCzJmvU0h1Qn56A/wB8IcYoEKx9mTSC7Ml9TGUduowDC7dhTWShBeG18wik= luhenry@ludovic-desktop
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDJbIf5W2ONioDcvlYx8U11FOPn96+hCCvkn0RZthi0s22ixo2Sw0Y9glK7swFJZifDGb1/3GYUi2h9pyO7kb4binC5qvpQaT4u/QUKiQhsJxhGu60lybz91TRl7yatysvRLGR0yAfQEc5iICZaeQN1mF/IUTLDwGKOGrN9LA9zw3IAHfbGhVXqRMNaAEV2hrTrUnpGsI7At1y/nrnw+FxSZwO2FJcZ3kDFjCv4af1PUechvVZ827/qME4WRFjVJnlTdRExdy718DFHrFJLrF/E6blFHbvDlTDL1PBenu7hnsh7sR+mDUmTfIfyddPls9bh46QV2eWBVmeiX5tr+Mm1iBX+owTSu/HDt18okDT67YvKNpu8Kb68zYjVX1B1L+MjdZbw5hPIRg4s8vrKxskgQyZ
diff --git a/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp b/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
index a2f5b4b6f53..1f175f2098d 100644
--- a/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
+++ b/src/hotspot/cpu/aarch64/vm_version_aarch64.cpp
@@ -26,41 +26,20 @@
#include "precompiled.hpp"
#include "asm/macroAssembler.hpp"
#include "asm/macroAssembler.inline.hpp"
+#include "logging/log.hpp"
#include "memory/resourceArea.hpp"
List of pre-defined events (to be used in -e):
branch-misses [Hardware event]
bus-cycles [Hardware event]
cache-misses [Hardware event]
cache-references [Hardware event]
cpu-cycles OR cycles [Hardware event]
instructions [Hardware event]
stalled-cycles-backend OR idle-cycles-backend [Hardware event]
stalled-cycles-frontend OR idle-cycles-frontend [Hardware event]