Home
last modified time | relevance | path

Searched refs:non_coherent_atom_size (Results 1 – 25 of 61) sorted by relevance

123

/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/gfx-memory/src/allocator/
H A Ddedicated.rs65 let mapping_range = match self.memory.non_coherent_atom_size { in map()
97 non_coherent_atom_size: Option<AtomSize>, field
107 non_coherent_atom_size: Size, in new()
112 non_coherent_atom_size: if crate::is_non_coherent_visible(memory_properties) { in new()
113 AtomSize::new(non_coherent_atom_size) in new()
133 let size = match self.non_coherent_atom_size { in alloc()
145 self.non_coherent_atom_size, in alloc()
H A Dlinear.rs53 let mapping_range = match self.memory.non_coherent_atom_size { in map()
97 non_coherent_atom_size: Option<AtomSize>, field
119 non_coherent_atom_size: Size, in new()
127 let (linear_size, non_coherent_atom_size) = in new()
129 let atom = AtomSize::new(non_coherent_atom_size); in new()
141 non_coherent_atom_size, in new()
200 let (size, align) = match self.non_coherent_atom_size { in alloc()
241 self.non_coherent_atom_size, in alloc()
H A Dgeneral.rs68 let mapping_range = match self.memory.non_coherent_atom_size { in map()
127 non_coherent_atom_size: Option<AtomSize>, field
167 non_coherent_atom_size: Size, in new()
195 let (block_size_granularity, non_coherent_atom_size) = in new()
197 let granularity = non_coherent_atom_size in new()
200 (granularity, AtomSize::new(non_coherent_atom_size)) in new()
213 non_coherent_atom_size, in new()
241 self.non_coherent_atom_size, in alloc_chunk_from_device()
485 let map_aligned_size = match self.non_coherent_atom_size { in alloc()
H A Dmod.rs57 non_coherent_atom_size: Option<AtomSize>, in allocate_memory_helper()
76 let memory = Memory::from_raw(raw, size, memory_properties, non_coherent_atom_size); in allocate_memory_helper()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/gfx-memory/src/
H A Dmemory.rs10 pub(crate) non_coherent_atom_size: Option<AtomSize>, field
43 non_coherent_atom_size: Option<AtomSize>, in from_raw()
46 non_coherent_atom_size.is_some(), in from_raw()
53 non_coherent_atom_size, in from_raw()
H A Dmapping.rs87 match memory.non_coherent_atom_size { in from_raw()
126 self.memory.non_coherent_atom_size.is_none() in is_coherent()
147 if let Some(atom) = self.memory.non_coherent_atom_size { in read()
190 let flush = self.memory.non_coherent_atom_size.map(|atom| Flush { in write()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/gfx-memory/src/heaps/
H A Dmemory_type.rs43 non_coherent_atom_size: Size, in new()
51 non_coherent_atom_size, in new()
57 non_coherent_atom_size, in new()
63 non_coherent_atom_size, in new()
H A Dmod.rs68 non_coherent_atom_size: Size, in new()
81 non_coherent_atom_size, in new()
/dports/www/firefox/firefox-99.0/third_party/rust/gpu-alloc/src/
H A Dallocator.rs72 props.non_coherent_atom_size.is_power_of_two(), in new()
77 isize::try_from(props.non_coherent_atom_size).is_ok(), in new()
107 non_coherent_atom_mask: props.non_coherent_atom_size - 1, in new()
/dports/www/firefox/firefox-99.0/third_party/rust/gpu-alloc-types/src/
H A Ddevice.rs61 pub non_coherent_atom_size: u64, field
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/gpu-alloc-types/src/
H A Ddevice.rs61 pub non_coherent_atom_size: u64, field
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/gpu-alloc-types/src/
H A Ddevice.rs61 pub non_coherent_atom_size: u64, field
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/gpu-alloc/src/
H A Dallocator.rs80 props.non_coherent_atom_size.is_power_of_two(), in new()
85 isize::try_from(props.non_coherent_atom_size).is_ok(), in new()
119 non_coherent_atom_mask: props.non_coherent_atom_size - 1, in new()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/gpu-alloc/src/
H A Dallocator.rs80 props.non_coherent_atom_size.is_power_of_two(), in new()
85 isize::try_from(props.non_coherent_atom_size).is_ok(), in new()
119 non_coherent_atom_mask: props.non_coherent_atom_size - 1, in new()
/dports/www/firefox-esr/firefox-91.8.0/gfx/wgpu/wgpu-core/src/device/
H A Dalloc.rs52 non_coherent_atom_size: limits.non_coherent_atom_size as u64, in new()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wgpu/wgpu-core/src/device/
H A Dalloc.rs52 non_coherent_atom_size: limits.non_coherent_atom_size as u64, in new()
/dports/graphics/waifu2x-ncnn-vulkan/waifu2x-ncnn-vulkan-20210521/src/ncnn/src/
H A Dallocator.cpp333 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in flush()
334 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in flush()
355 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in invalidate()
356 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in invalidate()
540 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkBlobAllocator()
1079 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkWeightAllocator()
H A Dgpu.h114 size_t non_coherent_atom_size() const;
/dports/benchmarks/vkpeak/vkpeak-20210430/ncnn/src/
H A Dallocator.cpp333 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in flush()
334 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in flush()
355 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in invalidate()
356 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in invalidate()
540 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkBlobAllocator()
1079 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkWeightAllocator()
H A Dgpu.h114 size_t non_coherent_atom_size() const;
/dports/misc/ncnn/ncnn-20211208/src/
H A Dallocator.cpp333 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in flush()
334 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in flush()
355 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in invalidate()
356 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in invalidate()
540 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkBlobAllocator()
1079 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkWeightAllocator()
H A Dgpu.h114 size_t non_coherent_atom_size() const;
/dports/graphics/vapoursynth-waifu2x-ncnn-vulkan/vapoursynth-waifu2x-ncnn-vulkan-r4/deps/ncnn/src/
H A Dallocator.cpp333 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in flush()
334 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in flush()
355 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in invalidate()
356 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in invalidate()
540 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkBlobAllocator()
1079 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkWeightAllocator()
H A Dgpu.h114 size_t non_coherent_atom_size() const;
/dports/graphics/realsr-ncnn-vulkan/realsr-ncnn-vulkan-20210210/src/ncnn/src/
H A Dallocator.cpp333 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in flush()
334 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in flush()
355 mappedMemoryRange.offset = round_down(ptr->offset, vkdev->info.non_coherent_atom_size()); in invalidate()
356 …ryRange.size = round_up(ptr->offset + ptr->capacity, vkdev->info.non_coherent_atom_size()) - mappe… in invalidate()
540 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkBlobAllocator()
1079 …lignment = least_common_multiple(d->buffer_offset_alignment, vkdev->info.non_coherent_atom_size()); in VkWeightAllocator()

123