Skip to content

Conversation

@wjmelements
Copy link

@wjmelements wjmelements commented Oct 31, 2024

Reviewer @johguse

Context

I was getting this error:

Devices:
  GPU0: AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.59, 6.11.5-arch1-1), 8589934592 bytes available, 36 compute units
  GPU1: �Q=��`, 6 bytes available, 36 compute units
Initializing OpenCL...
  Creating context...-33

-33 is CL_INVALID_DEVICE.
I hunted down the origin of the corruption and determined it was an unhandled error.

Changes

  • Check the return value of clGetDeviceIDs

@wjmelements wjmelements changed the title ClGetDeviceIDs: Check Error clGetDeviceIDs: Check Error Oct 31, 2024
@wjmelements
Copy link
Author

sambacha added a commit to sambacha/ERADICATE2 that referenced this pull request Dec 16, 2024
Applying fix from https://github.com/wjmelements

see <johguse#23>


Fixes: 

```
-33 is CL_INVALID_DEVICE.
I hunted down the origin of the corruption and determined it was an unhandled error.

Changes
Check the return value of clGetDeviceIDs
```
johguse/ERADICATE2@master...wjmelements:ERADICATE2:clGetDeviceIDs-error#files_bucket
@sambacha
Copy link

I reapplied this fix to the maintained fork located at 1inch#6

PetarKirov pushed a commit to blocksense-network/ERADICATE2 that referenced this pull request Jul 29, 2025
Applying fix from https://github.com/wjmelements

see <johguse#23>


Fixes: 

```
-33 is CL_INVALID_DEVICE.
I hunted down the origin of the corruption and determined it was an unhandled error.

Changes
Check the return value of clGetDeviceIDs
```
johguse/ERADICATE2@master...wjmelements:ERADICATE2:clGetDeviceIDs-error#files_bucket
PetarKirov pushed a commit to blocksense-network/ERADICATE2 that referenced this pull request Jul 29, 2025
Applying fix from https://github.com/wjmelements

see <johguse#23>


Fixes: 

```
-33 is CL_INVALID_DEVICE.
I hunted down the origin of the corruption and determined it was an unhandled error.

Changes
Check the return value of clGetDeviceIDs
```
johguse/ERADICATE2@master...wjmelements:ERADICATE2:clGetDeviceIDs-error#files_bucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants