Closed long-long-float closed 5 years ago
raw_program emits entire binary code. This is a example code.
raw_program
@qpu def sigmoid(asm): with open('sigmoid.bin', 'rb') as f: from ctypes import pointer, create_string_buffer data = f.read() raw_program(create_string_buffer(data, len(data)), len(data))
raw_program
emits entire binary code. This is a example code.