OpenCL implementation of CCubes
Find a file
2025-03-29 14:52:36 +02:00
inst Use redundant pointer. Indent. Outputs now identical with R. 2025-03-29 14:52:36 +02:00
man Merge HEAD on Github from AD. 2025-03-28 02:12:10 +02:00
R Merge HEAD on Github from AD. 2025-03-28 02:12:10 +02:00
regress cl hello-world example 2025-03-20 16:28:25 +02:00
src Use redundant pointer. Indent. Outputs now identical with R. 2025-03-29 14:52:36 +02:00
.gitignore Integrate R package from Adrian Dușa 2025-03-26 15:15:57 +02:00
.Rbuildignore Integrate R package from Adrian Dușa 2025-03-26 15:15:57 +02:00
DESCRIPTION Merge HEAD on Github from AD. 2025-03-28 02:12:10 +02:00
Makefile start allocating cl_mem inputs and outputs 2025-03-25 23:03:40 +02:00
NAMESPACE Merge HEAD on Github from AD. 2025-03-28 02:12:10 +02:00
README.md updated readme file 2025-03-28 19:15:10 +02:00
test_ccubes.c License 2025-03-26 11:50:07 +02:00

BUILD

cd ${HOME}
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/opt/gurobi1200/linux64/lib

R CMD build IEEE
R CMD INSTALL IEEE_1.0.0.tar.gz

TEST

From R do:

library(IEEE)
compare(1,20,30,file="R-log.txt")

or directly in the terminal:

Rscript -e 'IEEE::compare(1,20,30,file="R-log.txt")'

with expected output:

$ cat R-log.txt
1, 20, 30, 0.006, 0.357, "(!N&!P&!R) + (J&O&!S) + (B&!H&!Q) + (J&Q)", "(J&Q) + (!A&B&!O) + (F&O&!Q)", 3332, 233