Skip to content

Instantly share code, notes, and snippets.

View rcrowder's full-sized avatar

Richard Crowder rcrowder

View GitHub Profile
@rcrowder
rcrowder / CMakeLists.txt
Created February 7, 2018 16:42
EOgmaNeo Python CMakeLists.txt (fix for Anaconda3 discovery)
# ----------------------------------------------------------------------------
# EOgmaNeo
# Copyright(c) 2017 Ogma Intelligent Systems Corp. All rights reserved.
#
# This copy of EOgmaNeo is licensed to you under the terms described
# in the EOGMANEO_LICENSE.md file included in this distribution.
# ----------------------------------------------------------------------------
# CMake version 3.1+ is required to enable C++14 features cleanly
cmake_minimum_required(VERSION 3.1)
@rcrowder
rcrowder / InstallLog
Created October 6, 2016 20:53
AMD SDK Install Log
[05-08-2016T19:22:20][1069]Starting installation of AMD APP SDK v3.0
[05-08-2016T19:22:20][1070]Retrieving Operating System details...
[05-08-2016T19:22:20][79]Detected OS Architecture: 64
[05-08-2016T19:22:20][86]Detected OS Distribution: Ubuntu
[05-08-2016T19:22:20][93]Detected OS Version: 14.04
[05-08-2016T19:22:20][113]Logged in user: rcrowder
[05-08-2016T19:22:20][136]---------------------------------------------------------------------------------
[05-08-2016T19:22:24][138]---------------------------------------------------------------------------------
[05-08-2016T19:22:25][1095]EULA accepted, proceeding with console mode installation
[05-08-2016T19:22:25][1117]Non root user, asking the user for continuation of installation.
@rcrowder
rcrowder / pocl_win.md
Last active June 14, 2016 13:21
PoCL on Windows
Avoid ctest truncation of output: CTEST_FULL_OUTPUT
========================================================
=== MAIN VARIABLES
========================================================
CMAKE_STATIC_LIBRARY_PREFIX == "lib"
CMAKE_STATIC_LIBRARY_SUFFIX == ".a"
CMAKE_SHARED_LIBRARY_PREFIX == "lib"
CMAKE_SHARED_LIBRARY_SUFFIX == ".so"
CMAKE_SHARED_MODULE_PREFIX == "lib"
CMAKE_SHARED_MODULE_SUFFIX == ".so"
pi@raspberrypi:~/Dev/clinfo $ ./clinfo
Number of platforms 1
Platform Name Portable Computing Language
Platform Vendor The pocl project
Platform Version OpenCL 1.2 pocl 0.12
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix POCL
Platform Name Portable Computing Language
@rcrowder
rcrowder / pocl_pi.md
Last active June 6, 2020 13:58
PoCL on Raspberry Pi3

Prerequisites

sudo apt update
sudo apt upgrade
sudo apt-get autoremove

sudo apt install libhwloc-dev ocl-icd-opencl-dev libglew-dev zlib1g-dev libedit-dev

LLVM 3.7 + CLang

sudo apt install clang-3.7 libclang-3.7-dev

[12/10/2015 19:21:04] DHCP Server V2.5.1.0 started as Service
[12/10/2015 19:21:04] NetworkAdapter Initialization returns 0
[12/10/2015 19:21:04] Adapter 0 with IP address 192.168.1.158 found but not used
[12/10/2015 19:21:04] Adapter 1 with IP address 192.168.56.1 found but not used
[12/10/2015 19:21:04] Adapter 2 with IP address 169.254.70.55 found (pAdap=0x0031a6f8)
[12/10/2015 19:21:09] Adapter 0 has recognized an incoming DHCP request
[12/10/2015 19:21:09] DHCP message = DHCPDISCOVER
[12/10/2015 19:21:09] requested options: 1 2 3 6 12 15 26 28 42 44 47 119 121
[12/10/2015 19:21:09] Lookup client data for physical address "04-4F-8B-00-46-96" / client_id "04-4F-8B-00-46-96"
[12/10/2015 19:21:09] Client 04-4F-8B-00-46-96 is not configured
[SETTINGS]
IPPOOL_1=169.254.0.1-255
IPBIND_1=169.254.70.55
AssociateBindsToPools=1
Trace=1
DeleteOnRelease=0
ExpiredLeaseTimeout=3600
[GENERAL]
LEASETIME=86400
@rcrowder
rcrowder / reg_tests.log
Created November 30, 2015 20:45
Output of nupic.regression tests - py.test tests\ 2>&1 > reg_tests.log
============================= test session starts =============================
platform win32 -- Python 2.7.9 -- pytest-2.5.1
plugins: xdist, cov
collected 3 items
tests/anomaly/nab/nab_anomaly_test.py .
tests/anomaly/one_gym/hotgym_anomaly_test.py .
tests/prediction/singleorder/automaton_rule30_prediction_test.py .
========================== 3 passed in 9.03 seconds ===========================
@rcrowder
rcrowder / swarm_tests.log
Last active November 6, 2015 21:56
Output of - py.tests tests\swarming 2>&1 > swarm_tests.log
============================= test session starts =============================
platform win32 -- Python 2.7.9 -- pytest-2.5.1
plugins: xdist, cov
collected 45 items
tests/swarming/nupic/swarming/swarming_test.py sssssssssssssssss........................ssss
=================== 24 passed, 21 skipped in 833.87 seconds ===================