@@ -150,53 +150,6 @@ class __SYCL_EXPORT exception : public virtual std::exception {
150
150
pi_int32 pi_err);
151
151
};
152
152
153
- class __SYCL2020_DEPRECATED (
154
- " use sycl::exception with sycl::errc::runtime instead." ) runtime_error
155
- : public exception {
156
- public:
157
- runtime_error () : exception (make_error_code (errc::runtime)) {}
158
-
159
- runtime_error (const char *Msg, pi_int32 Err)
160
- : runtime_error (std::string (Msg), Err) {}
161
-
162
- runtime_error (const std::string &Msg, pi_int32 Err)
163
- : exception (make_error_code (errc::runtime), Msg, Err) {}
164
-
165
- runtime_error (std::error_code Ec, const std::string &Msg,
166
- const pi_int32 PIErr)
167
- : exception (Ec, Msg, PIErr) {}
168
-
169
- protected:
170
- runtime_error (std::error_code Ec) : exception (Ec) {}
171
- };
172
-
173
- class __SYCL2020_DEPRECATED (
174
- " use sycl::exception with sycl::errc::nd_range instead." ) nd_range_error
175
- : public runtime_error {
176
- public:
177
- nd_range_error () : runtime_error (make_error_code (errc::nd_range)) {}
178
-
179
- nd_range_error (const char *Msg, pi_int32 Err)
180
- : nd_range_error (std::string (Msg), Err) {}
181
-
182
- nd_range_error (const std::string &Msg, pi_int32 Err)
183
- : runtime_error (make_error_code (errc::nd_range), Msg, Err) {}
184
- };
185
-
186
- class __SYCL2020_DEPRECATED (
187
- " use sycl::exception with a sycl::errc enum value instead." )
188
- invalid_parameter_error : public runtime_error {
189
- public:
190
- invalid_parameter_error ()
191
- : runtime_error (make_error_code (errc::kernel_argument)) {}
192
-
193
- invalid_parameter_error (const char *Msg, pi_int32 Err)
194
- : invalid_parameter_error (std::string (Msg), Err) {}
195
-
196
- invalid_parameter_error (const std::string &Msg, pi_int32 Err)
197
- : runtime_error (make_error_code (errc::kernel_argument), Msg, Err) {}
198
- };
199
-
200
153
} // namespace _V1
201
154
} // namespace sycl
202
155
0 commit comments