DKMK100
DKMK100
CC#
Created by Silentgamerz on 7/15/2023 in #help
✅ is there a way to read names of image files
"known" being the technicality that gets you But yea practically this is easy
24 replies
CC#
Created by Silentgamerz on 7/15/2023 in #help
✅ is there a way to read names of image files
Probably The only thing that might give you trouble is knowing for sure it's an image file since there might be some weird image file extensions and formats out there But yea getting a list of all pngs and jpegs and stuff in a folder should be super easy
24 replies
CC#
Created by Popzi on 5/22/2023 in #help
❔ Reading Memory comes out backwards?
Hope you manage to get it working! Good luck!
51 replies
CC#
Created by Popzi on 5/22/2023 in #help
❔ Reading Memory comes out backwards?
The problem isn't really related to the coding language Both C# and c++ can only abstract this away by the type system which prevents reading bytes on their own. If you're gonna read plain bytes as useful info, you need to know what info they represent Including stuff like endianness No coding language can fix that except by doing what c# is ALREADY doing: remember that for you via type system You're the one choosing to interact with the bytes without it, and this problem is a natural concequence of that. Someone even showed you a helpful function to remove the busywork of choosing to interpret these yourself, so you only have the actual problem left to deal with
51 replies
CC#
Created by Popzi on 5/22/2023 in #help
❔ Reading Memory comes out backwards?
I think you're misunderstanding the problem
51 replies
CC#
Created by MasterDroid on 5/5/2023 in #help
❔ How to run a c# file
ok but counterpoint c++ is usually fine for most purposes and has strings and stuff which make a huge difference to QOL
27 replies
CC#
Created by MasterDroid on 5/5/2023 in #help
❔ How to run a c# file
c is pain to work with and for no reason
27 replies
CC#
Created by _MRV-MD_ on 4/14/2023 in #help
❔ Trying to save location data using JSON. Need help!
can't you just copy over the location from the original object to your own save data object?
31 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
is there a particular reason for that? or just never found the need to? they seem pretty useful in some contexts
30 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
what about convolutional layers? lol textures would be pretty useful there...
30 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
@Sergio HLSL supports a Texture2DArray, is there a way to use that from ComputeSharp? I don't see one...
30 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
right now I have a list of texture2D references on the CPU that I loop through and do stuff on one at a time, and the calculation depends on the previous one what I want is a way to do this without having to go back to a list on the CPU each time I don't know how I can save the data on the GPU though since the structure doesn't play nicely, do I just flatten it? as for the compute context, can I just put a loop there and run the shader in the context that many times? Or how do I set up a pipeline with a dynamic amount of steps like that?
30 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
the regular github wiki? it doesn't seem to have much info beyond the getting started section, and none of the 5 pages even mention piplines or ComputeContext or is there another wiki I'm missing?
30 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
@Sergio I legit have no idea how I'm meant to store my neural net layers on the GPU...
30 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
Unless you think I should flatten weights into a 1d buffer?
30 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
I wasn't able to find any documentation on those pipelines, how do they work? Also, what do I do if I need a list of texture2ds? I can't have an array on the CPU obv but there's no arrays on the GPU and the dimensions of a texture3D are too limiting
30 replies
CC#
Created by DKMK100 on 4/6/2023 in #help
❔ reduce CPU/GPU transfer ComputeSharp
I think a ComputeContext from ComputeSharp 2.0 is what I want
30 replies
CC#
Created by DKMK100 on 3/19/2023 in #help
✅ ComputeSharp and activation functions
Which will solve my problem
52 replies
CC#
Created by DKMK100 on 3/19/2023 in #help
✅ ComputeSharp and activation functions
I need 3 2d operations to replace my one 3d operation
52 replies
CC#
Created by DKMK100 on 3/19/2023 in #help
✅ ComputeSharp and activation functions
Update: I'm stupid and was doing something dumb
52 replies