SYCL: clean comments and variables step 3
This commit is contained in:
parent
8f123ae71d
commit
39b4c47b01
1 changed files with 0 additions and 3 deletions
|
@ -137,8 +137,6 @@ void ggml_backend_sycl_print_sycl_devices() {
|
||||||
|
|
||||||
for (int id = 0; id < device_count; ++id) {
|
for (int id = 0; id < device_count; ++id) {
|
||||||
sycl::device device = dpct::dev_mgr::instance().get_device(id);
|
sycl::device device = dpct::dev_mgr::instance().get_device(id);
|
||||||
// TODO: backend variable is unused here!
|
|
||||||
// sycl::backend backend = device.get_backend();
|
|
||||||
std::string backend_type = get_device_backend_and_type(device);
|
std::string backend_type = get_device_backend_and_type(device);
|
||||||
int type_id = DeviceNums[backend_type]++;
|
int type_id = DeviceNums[backend_type]++;
|
||||||
std::stringstream device_type;
|
std::stringstream device_type;
|
||||||
|
@ -421,7 +419,6 @@ ggml_backend_sycl_buffer_cpy_tensor(ggml_backend_buffer_t buffer,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
// TODO: Buffer is unused
|
|
||||||
(void) buffer;
|
(void) buffer;
|
||||||
} catch (const sycl::exception & exc) {
|
} catch (const sycl::exception & exc) {
|
||||||
std::cerr << exc.what() << "Exception caught at file:" << __FILE__ << ", line:" << __LINE__ << std::endl;
|
std::cerr << exc.what() << "Exception caught at file:" << __FILE__ << ", line:" << __LINE__ << std::endl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue