Skip to content

Instantly share code, notes, and snippets.

View anadon's full-sized avatar

Josh Marshall anadon

  • Branford, CT
  • 13:55 (UTC -12:00)
View GitHub Profile
Performing configuration checks
- default address-model : 64-bit
- default architecture : x86
- symlinks supported : yes
- BOOST_COMP_GNUC >= 4.3.0 : yes
- has_icu builds : yes
...patience...
...patience...
...patience...
{'result': {'queries': [[{'index': 0, 'terms': [{'type': 'ref', 'value': [{'type': 'var', 'value': 'equal'}]}, {'type': 'ref', 'value': [{'type': 'var', 'value': 'data'}, {'type': 'string', 'value': 'partial'}, {'type': 'string', 'value': 'DatabaseServiceServicer_Query'}, {'type': 'string', 'value': 'allow'}]}, {'type': 'boolean', 'value': True}]}]], 'support': [{'package': {'path': [{'type': 'var', 'value': 'data'}, {'type': 'string', 'value': 'partial'}, {'type': 'string', 'value': 'DatabaseServiceServicer_Query'}]}, 'rules': [{'head': {'name': 'allow', 'value': {'type': 'boolean', 'value': True}}, 'body': [{'index': 0, 'terms': [{'type': 'ref', 'value': [{'type': 'var', 'value': 'eq'}]}, {'type': 'string', 'value': 'test'}, {'type': 'ref', 'value': [{'type': 'var', 'value': 'data'}, {'type': 'string', 'value': 'user_permission_table'}, {'type': 'var', 'value': '$2'}, {'type': 'string', 'value': 'user_uuid'}]}]}, {'index': 1, 'terms': [{'type': 'ref', 'value': [{'type': 'var', 'value': 'eq'}]}, {'type': 'st
package DatabaseServiceServicer_Query
default allow = false
#Specific organization request
allow {
perms = data.user_permission_table[_]
perms.user_uuid = input.sid
allowed_role[perms.role]
perms.org_name = data.orgs[_].name
[anadon@doge ~]$ cd documents/code/sort-comparison-performance/
[anadon@doge sort-comparison-performance]$ make
cd src ; make
make[1]: Entering directory '/home/anadon/documents/code/sort-comparison-performance/src'
g++ --std=c++17 -I/home/anadon/documents/code/sort-comparison-performance/madlib/include/ -I/home/anadon/documents/code/sort-comparison-performance/include/ -O3 -march=native main.cpp -o /home/anadon/documents/code/sort-comparison-performance/bin/SCP
In file included from /usr/include/c++/8.1.1/algorithm:62,
from /home/anadon/documents/code/sort-comparison-performance/include/parse_arguments.hpp:24,
from /home/anadon/documents/code/sort-comparison-performance/include/data_preparation.hpp:27,
from main.cpp:35:
/usr/include/c++/8.1.1/bits/stl_algo.h: In instantiation of ‘void std::__merge_without_buffer(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Compare) [with _BidirectionalIterator = iteration_cou
This file has been truncated, but you can view the full file.
Installing package into ‘/home/anadon/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'http://cran.uk.r-project.org/src/contrib/gpuR_2.0.0.tar.gz'
Content type 'application/x-gzip' length 538276 bytes (525 KB)
==================================================
downloaded 525 KB
* installing *source* package ‘gpuR’ ...
** package ‘gpuR’ successfully unpacked and MD5 sums checked
OPENCL_FLAGS not set, using default -DCL_HPP_MINIMUM_OPENCL_VERSION=110 -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_HPP_TARGET_OPENCL_VERSION=120
library(gpuR)
#Make sure this is right in the case of multiple runtimes
setContext(1)
set.seed(123)
ORDER = 256*(2^1)
X1 <- matrix(rnorm(ORDER^2), nrow=ORDER, ncol=ORDER)
Scanning dependencies of target elflib
Scanning dependencies of target MDAutogen
Scanning dependencies of target check_headers
Scanning dependencies of target gtest
[ 0%] Building CXX object elf/CMakeFiles/elflib.dir/reader.cpp.o
Scanning dependencies of target igdrcl_lib_release_sharings_enable
[ 0%] Built target check_headers
Scanning dependencies of target biksim
Scanning dependencies of target gmock
Scanning dependencies of target gmock_main
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
Number of platforms 3
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (2527.3)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Host timer resolution <gatherPlatformInfo:6: get CL_PLATFORM_HOST_TIMER_RESOLUTION : error -30>
Platform Extensions function suffix AMD
Platform Name Clover
library(gpuR)
set.seed(123)
ORDER = 256*(2^1)
X1 <- matrix(rnorm(ORDER^2), nrow=ORDER, ncol=ORDER)
set.seed(123)
ORDER = 256*(2^2)