Skip to content

Commit 9a2fa1b

Browse files
committed
remove providing atomic SPIR-V module
1 parent 2770dcd commit 9a2fa1b

File tree

5 files changed

+1
-239
lines changed

5 files changed

+1
-239
lines changed

conda-recipe/build.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,4 @@ export CFLAGS="-fPIC -O3 ${CFLAGS}"
4848
export 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

conda-recipe/meta.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

dppl/ocldrv.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,6 @@
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
##########################################################################

oneapi_wrapper/source/atomics/atomic_ops.cl

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

scripts/build_for_develop.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,3 @@ export CFLAGS=-fPIC
4141
python setup.py clean --all
4242
python setup.py build_ext --inplace
4343
python 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

0 commit comments

Comments
 (0)