fix some typo
Signed-off-by: Chen Xi <xi2chen@intel.com>
This commit is contained in:
parent
cd296feac3
commit
6b4f7b2ac1
1 changed files with 6 additions and 8 deletions
|
@ -255,7 +255,7 @@ namespace dpct
|
|||
void set_pitch(size_t pitch) { _pitch = pitch; }
|
||||
|
||||
size_t get_x() { return _x; }
|
||||
void set_x(size_t x) { _x = x; };
|
||||
void set_x(size_t x) { _x = x; }
|
||||
|
||||
size_t get_y() { return _y; }
|
||||
void set_y(size_t y) { _y = y; }
|
||||
|
@ -978,7 +978,6 @@ namespace dpct
|
|||
static bool compare_backend(std::string &backend1, std::string &backend2) {
|
||||
return convert_backend_index(backend1) < convert_backend_index(backend2);
|
||||
}
|
||||
|
||||
dev_mgr()
|
||||
{
|
||||
sycl::device default_device =
|
||||
|
@ -1016,7 +1015,6 @@ namespace dpct
|
|||
}
|
||||
|
||||
std::sort(keys.begin(), keys.end(), compare_backend);
|
||||
|
||||
for (auto &key : keys) {
|
||||
std::vector<sycl::device> devs = backend_devices[key];
|
||||
std::sort(devs.begin(), devs.end(), compare_dev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue