Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Can't run simple program on GPU #1087

Description

@ZzEeKkAa

I'm trying to run simple dpjit code:

import dpnp as dnp
import numpy as np
import numba as nb
from numba_dpex import dpjit

@dpjit
def _sum_nomask(res):
    tot = nb.float32(1.0)
    res[1] = tot

if __name__ == "__main__":
    arr = dnp.arange(10, dtype=np.float32)
    _sum_nomask(res)
    print("dpex:", res)

The example works on cpu, but does not work on GPU:

ONEAPI_DEVICE_SELECTOR=opencl:gpu python example.py
[1]    2251 segmentation fault  ONEAPI_DEVICE_SELECTOR=opencl:gpu python numba_dpex_jax.py

Running on integrated intel gpu 12th gen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions