Edit

Share via


invalid_compute_domain Class

The exception that's thrown when the runtime can't start a kernel by using the compute domain specified at the parallel_for_each call site.

Syntax

class invalid_compute_domain : public runtime_exception;

Members

Public Constructors

Name Description
invalid_compute_domain Constructor Initializes a new instance of the invalid_compute_domain class.

Inheritance Hierarchy

exception

runtime_exception

invalid_compute_domain

Requirements

Header: amprt.h

Namespace: Concurrency

invalid_compute_domain

Initializes a new instance of the class.

Syntax

explicit invalid_compute_domain(
    const char * _Message ) throw();

invalid_compute_domain() throw();

Parameters

_Message
A description of the error.

Return Value

An instance of the invalid_compute_domain class

See also

Concurrency Namespace (C++ AMP)