This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using System.Reflection.Emit; | |
// foreach (Assembly b in AppDomain.CurrentDomain.GetAssemblies()) | |
class CLRBuilder | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/ldc/attributes.d | |
@@ -175,3 +175,23 @@ struct target { | |
+/ | |
immutable weak = _weak(); | |
private struct _weak {} | |
+ | |
+///Readability aliases for compute | |
+enum deviceOnly = 0; | |
+enum hostAndDevice = 1; | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import std.array; | |
import std.algorithm; | |
import std.traits; | |
import std.string; | |
class Test | |
{ | |
inout(int) f() inout { return 10; } | |
void t() | |
{ |