Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Fallback is failing for parallel numpy function #70

@reazulhoque

Description

@reazulhoque

Reporting a bug

reproducer

import numpy as np
from numba import dppl, njit, prange
import dpctl

@njit
def fallback(a):
    return np.amax(a)


a = np.ones(10)
if dpctl.has_gpu_queues():
    with dpctl.device_context("opencl:gpu"):
        fallback_result = fallback(a)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions