File tree Expand file tree Collapse file tree 5 files changed +1
-239
lines changed
oneapi_wrapper/source/atomics Expand file tree Collapse file tree 5 files changed +1
-239
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,4 @@ export CFLAGS="-fPIC -O3 ${CFLAGS}"
4848export LDFLAGS=" -L OpenCL_LIBDIR ${LDFLAGS} "
4949${PYTHON} setup.py clean --all
5050${PYTHON} setup.py build
51- ${PYTHON} setup.py install --old-and-unmanageable
52-
53-
54- $CC -flto -target spir64-unknown-unknown -c -x cl -emit-llvm -cl-std=CL2.0 -Xclang -finclude-default-header oneapi_wrapper/source/atomics/atomic_ops.cl -o oneapi_wrapper/source/atomics/atomic_ops.bc
55- llvm-spirv -o dppl/atomic_ops.spir oneapi_wrapper/source/atomics/atomic_ops.bc
56- cp dppl/atomic_ops.spir ${SP_DIR} /dppl/
51+ ${PYTHON} setup.py install
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ requirements:
2424 - python
2525 - make
2626 - numpy >=1.17
27- - llvm-spirv
2827 run :
2928 - python
3029 - numpy >=1.17
Original file line number Diff line number Diff line change 6363_logger .addHandler (_ch )
6464
6565
66- import os
67- atomic_spirv_path = os .path .join (os .path .dirname (__file__ ), 'atomic_ops.spir' )
68-
69- def read_atomic_spirv_object ():
70- """ This function returns the spirv module containing Atomic operations
71- """
72- with open (atomic_spirv_path , 'rb' ) as fin :
73- spirv = fin .read ()
74-
75- return spirv
76-
77-
7866##########################################################################
7967# Exception classes
8068##########################################################################
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -41,7 +41,3 @@ export CFLAGS=-fPIC
4141python setup.py clean --all
4242python setup.py build_ext --inplace
4343python setup.py develop
44-
45-
46- $CC -flto -target spir64-unknown-unknown -c -x cl -emit-llvm -cl-std=CL2.0 -Xclang -finclude-default-header oneapi_wrapper/source/atomics/atomic_ops.cl -o oneapi_wrapper/source/atomics/atomic_ops.bc
47- llvm-spirv -o dppl/atomic_ops.spir oneapi_wrapper/source/atomics/atomic_ops.bc
You can’t perform that action at this time.
0 commit comments