Home
last modified time | relevance | path

Searched refs:DeviceVector (Results 1 – 25 of 53) sorted by relevance

123

/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/selection/
H A DSelectObserver.h19 DeviceVector _start; // This is set at mouseDown
20 DeviceVector _current; // This is set during mouseMove
21 DeviceVector _epsilon; // A small threshold value to "swallow" minimal mouse moves
60 DeviceVector delta(_current - _start); in getDeviceArea()
94 void testSelect(DeviceVector position) { in testSelect()
110 DeviceVector delta(position - _start); in testSelect()
115 DeviceVector delta(position - _start); // << superfluous? in testSelect()
132 _start = _current = DeviceVector(0.0f, 0.0f); in testSelect()
148 void mouseDown(DeviceVector position) { in mouseDown()
153 void mouseMoved(DeviceVector position) { in mouseMoved()
[all …]
H A DDevice.h8 typedef Vector2 DeviceVector; typedef
15 inline DeviceVector window_to_normalised_device(WindowVector window, std::size_t width, std::size_t… in window_to_normalised_device()
16 …return DeviceVector(screen_normalised(window.x(), width), screen_normalised(height - 1 - window.y(… in window_to_normalised_device()
31 inline DeviceVector device_constrained(DeviceVector device) { in device_constrained()
32 return DeviceVector(device_constrained(device.x()), device_constrained(device.y())); in device_constrained()
36 typedef Callback1<DeviceVector> MouseEventCallback;
H A DManipulateObserver.h14 DeviceVector _epsilon;
23 bool mouseDown(DeviceVector position) { in mouseDown()
30 void mouseMoved(DeviceVector position) { in mouseMoved()
35 void mouseUp(DeviceVector position) { in mouseUp()
44 …typedef MemberCaller1<ManipulateObserver, DeviceVector, &ManipulateObserver::mouseMoved> MouseMove…
45 …typedef MemberCaller1<ManipulateObserver, DeviceVector, &ManipulateObserver::mouseUp> MouseUpCalle…
H A DRadiantWindowObserver.cpp35DeviceVector epsilon(SELECT_EPSILON / static_cast<float> (_width), SELECT_EPSILON / static_cast<fl… in onSizeChanged()
51DeviceVector devicePosition(device_constrained(window_to_normalised_device(position, _width, _heig… in onMouseDown()
87 DeviceVector devicePosition(window_to_normalised_device(position, _width, _height)); in onMouseDown()
/dports/devel/thrust/thrust-1.9.5/testing/
H A Dpermutation_iterator.cu183 typedef thrust::host_vector<T> DeviceVector; in TestPermutationIteratorHostDeviceGather() typedef
185 typedef DeviceVector::iterator DeviceIterator; in TestPermutationIteratorHostDeviceGather()
191 DeviceVector d_source(8); in TestPermutationIteratorHostDeviceGather()
192 DeviceVector d_indices(4); in TestPermutationIteratorHostDeviceGather()
193 DeviceVector d_output(4, 10); in TestPermutationIteratorHostDeviceGather()
229 typedef thrust::host_vector<T> DeviceVector; in TestPermutationIteratorHostDeviceScatter() typedef
231 typedef DeviceVector::iterator DeviceIterator; in TestPermutationIteratorHostDeviceScatter()
237 DeviceVector d_source(4,10); in TestPermutationIteratorHostDeviceScatter()
238 DeviceVector d_indices(4); in TestPermutationIteratorHostDeviceScatter()
239 DeviceVector d_output(8); in TestPermutationIteratorHostDeviceScatter()
H A Dtype_traits.cu71 typedef thrust::device_vector<int> DeviceVector; in TestIsContiguousIterator() typedef
80 ASSERT_EQUAL((bool) thrust::is_contiguous_iterator<DeviceVector::iterator>::value, true); in TestIsContiguousIterator()
81 ASSERT_EQUAL((bool) thrust::is_contiguous_iterator<DeviceVector::const_iterator>::value, true); in TestIsContiguousIterator()
/dports/games/kodi-addon-game.libretro/game.libretro-2.2.0-Matrix/src/input/
H A DButtonMapper.h47 using DeviceVector = std::vector<DevicePtr>; variable
48 using DeviceIt = DeviceVector::const_iterator;
50 static DeviceIt GetDevice(const DeviceVector &devices,
54 DeviceVector m_devices;
H A DInputTypes.h22 using DeviceVector = std::vector<DevicePtr>; variable
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/platform/
H A Dplatform.cpp225 std::vector<DeviceVector> Platform::groupDevices(DeviceVector devices) { in groupDevices()
227 std::vector<DeviceVector> outDevices; in groupDevices()
233 outDevices.push_back(DeviceVector{}); in groupDevices()
238 … std::sort(outDevices.begin(), outDevices.end(), [](DeviceVector &lhs, DeviceVector &rhs) -> bool { in groupDevices()
H A Dplatform.h61 static std::vector<DeviceVector> groupDevices(DeviceVector devices);
/dports/math/faiss/faiss-1.7.1/faiss/gpu/utils/
H A DDeviceVector.cuh29 class DeviceVector { class
31 DeviceVector(GpuResources* res, AllocInfo allocInfo) in DeviceVector() function in faiss::gpu::DeviceVector
36 ~DeviceVector() { in ~DeviceVector()
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/
H A Dselection.cpp3790 typedef Vector2 DeviceVector; typedef
3802 inline DeviceVector device_constrained(DeviceVector device) in device_constrained()
3872 DeviceVector m_start;
3873 DeviceVector m_current;
3874 DeviceVector m_epsilon;
3889 void testSelect(DeviceVector position) in testSelect()
3943 void mouseDown(DeviceVector position) in mouseDown()
3955 void mouseUp(DeviceVector position) in mouseUp()
3969 DeviceVector m_epsilon;
3972 bool mouseDown(DeviceVector position) in mouseDown()
[all …]
/dports/games/netradiant/netradiant-20150621-src/radiant/
H A Dselection.cpp3419 typedef Vector2 DeviceVector; typedef
3429 inline DeviceVector device_constrained( DeviceVector device ){ in device_constrained()
3493 DeviceVector m_start;
3494 DeviceVector m_current;
3495 DeviceVector m_epsilon;
3508 void testSelect( DeviceVector position ){ in testSelect()
3552 void mouseDown( DeviceVector position ){ in mouseDown()
3562 void mouseUp( DeviceVector position ){ in mouseUp()
3575 DeviceVector m_epsilon;
3578 bool mouseDown( DeviceVector position ){ in mouseDown()
[all …]
/dports/misc/tvm/incubator-tvm-0.6.1/nnvm/src/pass/
H A Dplace_device.cc48 DeviceVector device; in PlaceDevice()
51 device = src.MoveCopyAttr<DeviceVector>("device"); in PlaceDevice()
210 DeviceVector new_device_vec(ret.indexed_graph().num_nodes()); in PlaceDevice()
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/nnvm/src/pass/
H A Dplace_device.cc47 DeviceVector device; in PlaceDevice()
50 device = src.MoveCopyAttr<DeviceVector>("device"); in PlaceDevice()
206 DeviceVector new_device_vec(ret.indexed_graph().num_nodes()); in PlaceDevice()
/dports/misc/py-tvm/incubator-tvm-0.6.1/nnvm/src/pass/
H A Dplace_device.cc48 DeviceVector device; in PlaceDevice()
51 device = src.MoveCopyAttr<DeviceVector>("device"); in PlaceDevice()
210 DeviceVector new_device_vec(ret.indexed_graph().num_nodes()); in PlaceDevice()
/dports/multimedia/kodi-addon-peripheral.joystick/peripheral.joystick-1.7.1-Matrix/src/storage/
H A DStorageTypes.h20 typedef std::vector<DevicePtr> DeviceVector; typedef
/dports/misc/tvm/incubator-tvm-0.6.1/nnvm/include/nnvm/
H A Dgraph_attr_types.h103 using DeviceVector = std::vector<int>; variable
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/nnvm/include/nnvm/
H A Dgraph_attr_types.h104 using DeviceVector = std::vector<int>; variable
/dports/misc/py-tvm/incubator-tvm-0.6.1/nnvm/include/nnvm/
H A Dgraph_attr_types.h103 using DeviceVector = std::vector<int>; variable
/dports/math/faiss/faiss-1.7.1/faiss/gpu/impl/
H A DBinaryFlatIndex.cuh58 DeviceVector<char> rawData_;
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/shared/source/helpers/
H A Dcommon_types.h17 using DeviceVector = std::vector<std::unique_ptr<Device>>; variable
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/perf_tests/api/
H A Dapi_tests.cpp33 pContext = Context::create(nullptr, DeviceVector(&clDevice, 1), nullptr, nullptr, retVal); in SetUp()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/fixtures/
H A Ddevice_fixture.cpp29 NEO::DeviceVector devices; in setupWithExecutionEnvironment()
50 NEO::DeviceVector devices; in SetUp()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/core/test/unit_tests/sources/driver/
H A Dtest_driver.cpp236 NEO::DeviceVector devices; in TEST()
251 NEO::DeviceVector devices; in TEST()
265 NEO::DeviceVector devices; in TEST()
361 NEO::DeviceVector devices; in TEST()
478 NEO::DeviceVector devices; in SetUp()

123