Skip to content

Commit ab0d760

Browse files
committed
Try opencl ubuntu 2
1 parent ef7f0fc commit ab0d760

File tree

7 files changed

+16
-71
lines changed

7 files changed

+16
-71
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ jobs:
3636
- name: Install Modules
3737
run: npm ci
3838

39-
- name: Build Current Binary
40-
run: npm run build
41-
4239
- name: Install OpenCL - Ubuntu
4340
if: matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-22.04-arm'
4441
run: |
4542
sudo apt-get update -qq
4643
sudo apt-get install -qq ocl-icd-opencl-dev pocl-opencl-icd
4744
45+
- name: Build Current Binary
46+
run: npm run build
47+
4848
- name: Run Unit Tests
4949
run: npm run test-ci

src/CPPLINT.cfg

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/binding.gyp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
'variables': {
33
'bin': '<!(node -p "require(\'addon-tools-raub\').bin")',
44
'cl_include': 'include',
5-
'cl_bin': '<(module_root_dir)/lib',
65
},
76
'targets': [
87
{
@@ -15,13 +14,12 @@
1514
'<!@(node -p "require(\'addon-tools-raub\').getInclude()")',
1615
'<(cl_include)',
1716
],
18-
'library_dirs': ['<(cl_bin)'],
17+
'library_dirs': ['<(module_root_dir)/lib'],
1918
'conditions': [
2019
['OS=="linux"', {
2120
'libraries': [
2221
"-Wl,-rpath,'$$ORIGIN'",
23-
# 'libOpenCL.so',
24-
'<(cl_bin)/libOpenCL.so',
22+
'libOpenCL.so',
2523
],
2624
}],
2725
['OS=="mac"', {

src/cpp/bindings.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
#include "queue.cpp"
2-
#include "common.cpp"
3-
#include "context.cpp"
4-
#include "device.cpp"
5-
#include "event.cpp"
6-
#include "kernel.cpp"
7-
#include "memobj.cpp"
8-
#include "platform.cpp"
9-
#include "program.cpp"
10-
#include "sampler.cpp"
11-
#include "types.cpp"
1+
#include "./queue.cpp"
2+
#include "./common.cpp"
3+
#include "./context.cpp"
4+
#include "./device.cpp"
5+
#include "./event.cpp"
6+
#include "./kernel.cpp"
7+
#include "./memobj.cpp"
8+
#include "./platform.cpp"
9+
#include "./program.cpp"
10+
#include "./sampler.cpp"
11+
#include "./types.cpp"
1212

1313

1414
#define JS_CL_CONSTANT(name) \

src/lib/libOpenCL.so

-30.4 KB
Binary file not shown.

src/package-lock.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/package.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)