Im new , but Im trying to learn . Im trying to use my code to work with GPU instead of CPU, but cannot get it work.
Here is my pure code, its working but I wish to accelerate with GPU:
start = 20 unknown = 1 finish = 100 def test(): global check check = start + unknown return check check = test() while check != finish: unknown += 1 test() else: print(unknown)
I got the error:
AttributeError: Failed at object (analyzing bytecode) 'DataFlowAnalysis' object has no attribute 'op_STORE_GLOBAL'
If anyone can help?