Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

key genration error #30

Open
bpradeep508 opened this issue Oct 7, 2021 · 1 comment
Open

key genration error #30

bpradeep508 opened this issue Oct 7, 2021 · 1 comment

Comments

@bpradeep508
Copy link

TypeError Traceback (most recent call last)
in ()
259 lines.append([int(v) for v in line.split()])
260 ctx = nufhe.Context()
--> 261 secret_key, cloud_key = ctx.make_key_pair()
262 vm = ctx.make_virtual_machine(cloud_key)
263 size=16

7 frames
/usr/local/lib/python3.7/dist-packages/pyopencl/array.py in _new_with_changes(self, data, offset, shape, dtype, strides, queue, allocator)
641 strides=strides, data=data, offset=offset,
642 events=events,
--> 643 _fast=fast, _context=self.context, _queue=queue, _size=size)
644
645 def with_queue(self, queue):

TypeError: init() got an unexpected keyword argument 'data'

@fjarri
Copy link
Contributor

fjarri commented Oct 12, 2021

There appears to be a change in the recent version of PyOpenCL that broke reikna, and, by extension, nufhe. Can you downgrade to pyopencl<=2021.2.6 and try again?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants